1 package org.hibernate; 3 4 import javax.transaction.Synchronization ; 5 6 26 27 public interface Transaction { 28 29 36 public void commit() throws HibernateException; 37 38 43 public void rollback() throws HibernateException; 44 45 51 public boolean wasRolledBack() throws HibernateException; 52 53 61 public boolean wasCommitted() throws HibernateException; 62 63 67 public boolean isActive() throws HibernateException; 68 69 72 public void registerSynchronization(Synchronization synchronization) 73 throws HibernateException; 74 75 } 76 77 78 79 80 81 82 | Popular Tags |