public Statement getGenericStatement(ClassDescriptor cds, boolean scrollable) throws PersistenceBrokerException
    {
        try
        {
            return cds.getStatementsForClass(m_conMan).getGenericStmt(m_conMan.getConnection(), scrollable);
        }
        catch (LookupException e)
        {
            throw new PersistenceBrokerException("Used ConnectionManager instance could not obtain a connection", e);
        }
    }
public Statement getGenericStatement ( ClassDescriptor cds , boolean scrollable ) throws PersistenceBrokerException { try { return cds . getStatementsForClass ( m_conMan ) . getGenericStmt ( m_conMan . getConnection ( ) , scrollable ) ; } catch ( LookupException e ) { throw new PersistenceBrokerException ( "Used ConnectionManager instance could not obtain a connection" , e ) ; } }
return a generic Statement for the given ClassDescriptor.
Never use this method for UPDATE/INSERT/DELETE if you want to use the batch mode.