Save This Page
Home » Hibernate-3.3.2.GA » org.hibernate » transaction » [javadoc | source]
org.hibernate.transaction
public class: JDBCTransaction [javadoc | source]
java.lang.Object
   org.hibernate.transaction.JDBCTransaction

All Implemented Interfaces:
    org.hibernate.Transaction

Transaction implementation based on transaction management through a JDBC java.sql.Connection .

This the Hibernate's default transaction strategy.

Constructor:
 public JDBCTransaction(JDBCContext jdbcContext,
    Context transactionContext) 
Method from org.hibernate.transaction.JDBCTransaction Summary:
begin,   commit,   isActive,   registerSynchronization,   rollback,   setTimeout,   wasCommitted,   wasRolledBack
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.transaction.JDBCTransaction Detail:
 public  void begin() throws HibernateException 
    {@inheritDoc}
 public  void commit() throws HibernateException 
    {@inheritDoc}
 public boolean isActive() 
    {@inheritDoc}
 public  void registerSynchronization(Synchronization sync) throws HibernateException 
    {@inheritDoc}
 public  void rollback() throws HibernateException 
    {@inheritDoc}
 public  void setTimeout(int seconds) 
    {@inheritDoc}
 public boolean wasCommitted() 
    {@inheritDoc}
 public boolean wasRolledBack() 
    {@inheritDoc}