public class StatementsForClassImpl extends java.lang.Object implements StatementsForClassIF
| Constructor and Description |
|---|
StatementsForClassImpl(JdbcConnectionDescriptor jcd,
ClassDescriptor classDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.PreparedStatement |
getDeleteStmt(java.sql.Connection con)
Returns the DELETE Statement used for clazz.
|
java.sql.Statement |
getGenericStmt(java.sql.Connection con,
boolean scrollable)
Returns a generic unprepared Statement used for clazz.
|
java.sql.PreparedStatement |
getInsertStmt(java.sql.Connection con)
Returns the INSERT Statement used for clazz.
|
java.sql.PreparedStatement |
getPreparedStmt(java.sql.Connection con,
java.lang.String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
Returns a prepared Statement used for clazz.
|
java.sql.PreparedStatement |
getSelectByPKStmt(java.sql.Connection con)
Returns the SELECT Statement used for clazz.
|
java.sql.PreparedStatement |
getUpdateStmt(java.sql.Connection con)
Returns the UPDATE Statement used for clazz.
|
public StatementsForClassImpl(JdbcConnectionDescriptor jcd, ClassDescriptor classDescriptor)
public java.sql.PreparedStatement getDeleteStmt(java.sql.Connection con)
throws java.sql.SQLException
StatementsForClassIFgetDeleteStmt in interface StatementsForClassIFjava.sql.SQLExceptionpublic java.sql.Statement getGenericStmt(java.sql.Connection con,
boolean scrollable)
throws PersistenceBrokerSQLException
StatementsForClassIFgetGenericStmt in interface StatementsForClassIFPersistenceBrokerSQLExceptionpublic java.sql.PreparedStatement getInsertStmt(java.sql.Connection con)
throws java.sql.SQLException
StatementsForClassIFgetInsertStmt in interface StatementsForClassIFjava.sql.SQLExceptionpublic java.sql.PreparedStatement getPreparedStmt(java.sql.Connection con,
java.lang.String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
throws PersistenceBrokerSQLException
StatementsForClassIFgetPreparedStmt in interface StatementsForClassIFPersistenceBrokerSQLExceptionpublic java.sql.PreparedStatement getSelectByPKStmt(java.sql.Connection con)
throws java.sql.SQLException
StatementsForClassIFgetSelectByPKStmt in interface StatementsForClassIFjava.sql.SQLExceptionpublic java.sql.PreparedStatement getUpdateStmt(java.sql.Connection con)
throws java.sql.SQLException
StatementsForClassIFgetUpdateStmt in interface StatementsForClassIFjava.sql.SQLException(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30