public PreparedStatement getPreparedStatement ( ClassDescriptor cds , String sql , boolean scrollable , int explicitFetchSizeHint , boolean callableStmt ) throws PersistenceBrokerException { try { return cds . getStatementsForClass ( m_conMan ) . getPreparedStmt ( m_conMan . getConnection ( ) , sql , scrollable , explicitFetchSizeHint , callableStmt ) ; } catch ( LookupException e ) { throw new PersistenceBrokerException ( "Used ConnectionManager instance could not obtain a connection" , e ) ; } }
return a generic Statement for the given ClassDescriptor