1 package org.apache.ojb.broker.accesslayer; 2 3 17 18 import org.apache.ojb.broker.PersistenceBrokerSQLException; 19 20 import java.sql.PreparedStatement ; 21 import java.sql.SQLException ; 22 import java.sql.Statement ; 23 import java.sql.Connection ; 24 25 33 34 public interface StatementsForClassIF 35 { 36 40 PreparedStatement getDeleteStmt(Connection con) throws SQLException; 41 42 47 Statement getGenericStmt(Connection con, boolean scrollable) throws PersistenceBrokerSQLException; 48 49 53 54 PreparedStatement getInsertStmt(Connection con) throws SQLException; 55 56 60 PreparedStatement getPreparedStmt(Connection con, String sql, 61 boolean scrollable, int explicitFetchSizeHint, boolean callableStmt) 62 throws PersistenceBrokerSQLException; 63 64 68 PreparedStatement getSelectByPKStmt(Connection con) throws SQLException; 69 70 74 PreparedStatement getUpdateStmt(Connection con) throws SQLException; 75 } 76 | Popular Tags |