public interface StatementsForClassIF
java.sql.Statements used for persistence operations
on a given class.| 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.
|
java.sql.PreparedStatement getDeleteStmt(java.sql.Connection con)
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.Statement getGenericStmt(java.sql.Connection con,
boolean scrollable)
throws PersistenceBrokerSQLException
PersistenceBrokerSQLExceptionjava.sql.PreparedStatement getInsertStmt(java.sql.Connection con)
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.PreparedStatement getPreparedStmt(java.sql.Connection con,
java.lang.String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
throws PersistenceBrokerSQLException
PersistenceBrokerSQLExceptionjava.sql.PreparedStatement getSelectByPKStmt(java.sql.Connection con)
throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.PreparedStatement getUpdateStmt(java.sql.Connection con)
throws java.sql.SQLException
java.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