Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » jdbc » [javadoc | source]
org.hibernate.jdbc
abstract public class: AbstractBatcher [javadoc | source]
java.lang.Object
   org.hibernate.jdbc.AbstractBatcher

All Implemented Interfaces:
    Batcher

Direct Known Subclasses:
    NonBatchingBatcher, BatchingBatcher

Manages prepared statements and batching.
Field Summary
protected static final  Logger log     
 boolean isTransactionTimeoutSet     
Constructor:
 public AbstractBatcher(ConnectionManager connectionManager,
    Interceptor interceptor) 
Method from org.hibernate.jdbc.AbstractBatcher Summary:
abortBatch,   cancelLastQuery,   closeConnection,   closeQueryStatement,   closeStatement,   closeStatements,   doExecuteBatch,   executeBatch,   getFactory,   getResultSet,   getResultSet,   getStatement,   hasOpenResources,   openConnection,   openResourceStatsAsString,   prepareBatchCallableStatement,   prepareBatchStatement,   prepareCallableQueryStatement,   prepareCallableStatement,   prepareQueryStatement,   prepareSelectStatement,   prepareStatement,   prepareStatement,   prepareStatement,   setTransactionTimeout,   unsetTransactionTimeout
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.jdbc.AbstractBatcher Detail:
 public  void abortBatch(SQLException sqle) 
 public  void cancelLastQuery() throws HibernateException 
 public  void closeConnection(Connection conn) throws HibernateException 
 public  void closeQueryStatement(PreparedStatement ps,
    ResultSet rs) throws SQLException 
 public  void closeStatement(PreparedStatement ps) throws SQLException 
 public  void closeStatements() 
    Actually releases the batcher, allowing it to cleanup internally held resources.
 abstract protected  void doExecuteBatch(PreparedStatement ps) throws HibernateException, SQLException
 public  void executeBatch() throws HibernateException 
 protected SessionFactoryImplementor getFactory() 
 public ResultSet getResultSet(PreparedStatement ps) throws SQLException 
 public ResultSet getResultSet(CallableStatement ps,
    Dialect dialect) throws SQLException 
 protected PreparedStatement getStatement() 
 public boolean hasOpenResources() 
 public Connection openConnection() throws HibernateException 
 public String openResourceStatsAsString() 
 public CallableStatement prepareBatchCallableStatement(String sql) throws HibernateException, SQLException 
 public PreparedStatement prepareBatchStatement(String sql) throws HibernateException, SQLException 
 public CallableStatement prepareCallableQueryStatement(String sql,
    boolean scrollable,
    ScrollMode scrollMode) throws HibernateException, SQLException 
 public CallableStatement prepareCallableStatement(String sql) throws HibernateException, SQLException 
 public PreparedStatement prepareQueryStatement(String sql,
    boolean scrollable,
    ScrollMode scrollMode) throws HibernateException, SQLException 
 public PreparedStatement prepareSelectStatement(String sql) throws HibernateException, SQLException 
 public PreparedStatement prepareStatement(String sql) throws HibernateException, SQLException 
 public PreparedStatement prepareStatement(String sql,
    boolean getGeneratedKeys) throws HibernateException, SQLException 
 public PreparedStatement prepareStatement(String sql,
    String[] columnNames) throws HibernateException, SQLException 
 public  void setTransactionTimeout(int seconds) 
 public  void unsetTransactionTimeout()