| java.lang.Object org.apache.ojb.broker.accesslayer.StatementManager
StatementManager | public class StatementManager implements StatementManagerIF(Code) | | manages JDBC Connection and Statement resources.
author: Thomas Mahler author: Randall Burt version: $Id: StatementManager.java,v 1.47.2.5 2005/06/04 14:13:43 arminw Exp $ |
Method Summary | |
public void | bindDelete(PreparedStatement stmt, Identity oid, ClassDescriptor cld) | public void | bindDelete(PreparedStatement stmt, ClassDescriptor cld, Object obj) | public void | bindInsert(PreparedStatement stmt, ClassDescriptor cld, Object obj) | public void | bindSelect(PreparedStatement stmt, Identity oid, ClassDescriptor cld, boolean callableStmt) Binds the Identities Primary key values to the statement. | public int | bindStatement(PreparedStatement stmt, Query query, ClassDescriptor cld, int param) | protected int | bindStatement(PreparedStatement stmt, Criteria crit, ClassDescriptor cld, int param) | public void | bindUpdate(PreparedStatement stmt, ClassDescriptor cld, Object obj) | public int | bindValues(PreparedStatement stmt, ValueContainer[] values, int index) | public void | closeResources(Statement stmt, ResultSet rs) | protected ValueContainer[] | getAllValues(ClassDescriptor cld, Object obj) | public PreparedStatement | getDeleteStatement(ClassDescriptor cld) | public Statement | getGenericStatement(ClassDescriptor cds, boolean scrollable) return a generic Statement for the given ClassDescriptor. | public PreparedStatement | getInsertStatement(ClassDescriptor cds) | protected ValueContainer[] | getKeyValues(PersistenceBroker broker, ClassDescriptor cld, Object obj) | protected ValueContainer[] | getKeyValues(PersistenceBroker broker, ClassDescriptor cld, Identity oid) | protected ValueContainer[] | getNonKeyValues(PersistenceBroker broker, ClassDescriptor cld, Object obj) | public PreparedStatement | getPreparedStatement(ClassDescriptor cds, String sql, boolean scrollable, int explicitFetchSizeHint, boolean callableStmt) | public PreparedStatement | getSelectByPKStatement(ClassDescriptor cds) | public PreparedStatement | getUpdateStatement(ClassDescriptor cds) |
|
|