Methods Summary |
---|
public boolean | areCallbacksLocalToHibernateTransactions()
return true;
|
public void | configure(java.util.Properties props)
|
public org.hibernate.Transaction | createTransaction(org.hibernate.jdbc.JDBCContext jdbcContext, Context transactionContext)
return new JDBCTransaction( jdbcContext, transactionContext );
|
public org.hibernate.ConnectionReleaseMode | getDefaultReleaseMode()
return ConnectionReleaseMode.AFTER_TRANSACTION;
|
public boolean | isTransactionInProgress(org.hibernate.jdbc.JDBCContext jdbcContext, Context transactionContext, org.hibernate.Transaction transaction)
// try {
// // for JDBC-based transactions, we only want to return true
// // here if we (this transaction) are managing the transaction
// return transaction != null &&
// transaction.isActive() &&
// !jdbcContext.getConnectionManager().isAutoCommit();
// }
// catch ( SQLException e ) {
// // assume we are in auto-commit!
// return false;
// }
return transaction != null && transaction.isActive();
|
public boolean | isTransactionManagerRequired()
return false;
|