Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.hibernate.jdbc.AbstractBatcher
Field Summary | |
protected static Logger |
Constructor Summary | |
|
Method Summary | |
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
protected abstract void |
|
void | |
protected SessionFactoryImplementor | |
ResultSet |
|
ResultSet |
|
protected PreparedStatement | |
boolean | |
Connection | |
String | |
CallableStatement |
|
PreparedStatement |
|
CallableStatement |
|
CallableStatement |
|
PreparedStatement |
|
PreparedStatement |
|
PreparedStatement |
|
PreparedStatement |
|
PreparedStatement |
|
void |
|
void |
public void cancelLastQuery() throws HibernateException
- Specified by:
- cancelLastQuery in interface Batcher
public void closeConnection(Connection conn) throws HibernateException
- Specified by:
- closeConnection in interface Batcher
public void closeQueryStatement(PreparedStatement ps, ResultSet rs) throws SQLException
- Specified by:
- closeQueryStatement in interface Batcher
public void closeStatement(PreparedStatement ps) throws SQLException
- Specified by:
- closeStatement in interface Batcher
public void closeStatements()
Actually releases the batcher, allowing it to cleanup internally held resources.
- Specified by:
- closeStatements in interface Batcher
protected abstract void doExecuteBatch(PreparedStatement ps) throws SQLException, HibernateException
public void executeBatch() throws HibernateException
- Specified by:
- executeBatch in interface Batcher
public ResultSet getResultSet(CallableStatement ps, Dialect dialect) throws SQLException
- Specified by:
- getResultSet in interface Batcher
public ResultSet getResultSet(PreparedStatement ps) throws SQLException
- Specified by:
- getResultSet in interface Batcher
protected PreparedStatement getStatement()
public Connection openConnection() throws HibernateException
- Specified by:
- openConnection in interface Batcher
public String openResourceStatsAsString()
- Specified by:
- openResourceStatsAsString in interface Batcher
public CallableStatement prepareBatchCallableStatement(String sql) throws SQLException, HibernateException
- Specified by:
- prepareBatchCallableStatement in interface Batcher
public PreparedStatement prepareBatchStatement(String sql) throws SQLException, HibernateException
- Specified by:
- prepareBatchStatement in interface Batcher
public CallableStatement prepareCallableQueryStatement(String sql, boolean scrollable, ScrollMode scrollMode) throws SQLException, HibernateException
- Specified by:
- prepareCallableQueryStatement in interface Batcher
public CallableStatement prepareCallableStatement(String sql) throws SQLException, HibernateException
- Specified by:
- prepareCallableStatement in interface Batcher
public PreparedStatement prepareQueryStatement(String sql, boolean scrollable, ScrollMode scrollMode) throws SQLException, HibernateException
- Specified by:
- prepareQueryStatement in interface Batcher
public PreparedStatement prepareSelectStatement(String sql) throws SQLException, HibernateException
- Specified by:
- prepareSelectStatement in interface Batcher
public PreparedStatement prepareStatement(String sql) throws SQLException, HibernateException
- Specified by:
- prepareStatement in interface Batcher
public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException, HibernateException
- Specified by:
- prepareStatement in interface Batcher
public PreparedStatement prepareStatement(String sql, boolean getGeneratedKeys) throws SQLException, HibernateException
- Specified by:
- prepareStatement in interface Batcher
public void setTransactionTimeout(int seconds)
- Specified by:
- setTransactionTimeout in interface Batcher
public void unsetTransactionTimeout()
- Specified by:
- unsetTransactionTimeout in interface Batcher