| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
public final class JdbcTransactionFactory
Factory for JdbcTransaction instances.
| Constructor Summary | |
|---|---|
| JdbcTransactionFactory() | |
| Method Summary | |
|---|---|
|  boolean | canBeDriver()Can the transactions created from this strategy act as the driver? In other words can the user actually manage transactions with this strategy? | 
|  boolean | compatibleWithJtaSynchronization()Should we attempt to register JTA transaction synchronizations. | 
|  JdbcTransaction | createTransaction(TransactionCoordinator transactionCoordinator)Construct a transaction instance compatible with this strategy. | 
|  ConnectionReleaseMode | getDefaultReleaseMode()Get the default connection release mode. | 
|  boolean | isJoinableJtaTransaction(TransactionCoordinator transactionCoordinator,
                         JdbcTransaction transaction)Can the underlying transaction represented by the passed Hibernate TransactionImplementorbe joined? | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public JdbcTransactionFactory()
| Method Detail | 
|---|
public JdbcTransaction createTransaction(TransactionCoordinator transactionCoordinator)
TransactionFactory
createTransaction in interface TransactionFactory<JdbcTransaction>transactionCoordinator - The coordinator for this transaction
public boolean canBeDriver()
TransactionFactory
canBeDriver in interface TransactionFactory<JdbcTransaction>public ConnectionReleaseMode getDefaultReleaseMode()
TransactionFactory
getDefaultReleaseMode in interface TransactionFactory<JdbcTransaction>public boolean compatibleWithJtaSynchronization()
TransactionFactorysynchronizations.
 
 In other words, is this strategy JTA-based?
compatibleWithJtaSynchronization in interface TransactionFactory<JdbcTransaction>synchronizations; false otherwise.
public boolean isJoinableJtaTransaction(TransactionCoordinator transactionCoordinator,
                                        JdbcTransaction transaction)
TransactionFactoryTransactionImplementor be joined?
isJoinableJtaTransaction in interface TransactionFactory<JdbcTransaction>transactionCoordinator - The transaction coordinatortransaction - The current Hibernate transaction
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||