org.hibernate.ejb.test.transaction
Class FlushAndTransactionTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
          extended by org.hibernate.ejb.test.transaction.FlushAndTransactionTest

public class FlushAndTransactionTest
extends org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
FlushAndTransactionTest()
           
 
Method Summary
 Class[] getAnnotatedClasses()
           
 void testAlwaysTransactionalOperations()
           
 void testCloseAndTransaction()
           
 void testMergeWhenExtended()
           
 void testRollbackClearPC()
           
 void testRollbackExceptionOnOptimisticLockException()
           
 void testRollbackOnlyOnPersistenceException()
           
 void testTransactionalOperationsWhenExtended()
           
 void testTransactionAndContains()
           
 void testTransactionCommitDoesNotFlush()
           
 
Methods inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
addConfigOptions, addMappings, afterConfigurationBuilt, afterEntityManagerFactoryBuilt, applyServices, buildConfiguration, buildEntityManagerFactory, constructConfiguration, createEntityManager, createIsolatedEntityManager, createIsolatedEntityManager, createSchema, entityManagerFactory, getCachedClasses, getCachedCollections, getConfig, getDialect, getEjb3DD, getMappings, getOrCreateEntityManager, releaseResources, serviceRegistry
 
Methods inherited from class org.hibernate.testing.junit4.BaseUnitTestCase
releaseTransactions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlushAndTransactionTest

public FlushAndTransactionTest()
Method Detail

testAlwaysTransactionalOperations

public void testAlwaysTransactionalOperations()
                                       throws Exception
Throws:
Exception

testTransactionalOperationsWhenExtended

public void testTransactionalOperationsWhenExtended()
                                             throws Exception
Throws:
Exception

testMergeWhenExtended

public void testMergeWhenExtended()
                           throws Exception
Throws:
Exception

testCloseAndTransaction

public void testCloseAndTransaction()
                             throws Exception
Throws:
Exception

testTransactionCommitDoesNotFlush

public void testTransactionCommitDoesNotFlush()
                                       throws Exception
Throws:
Exception

testTransactionAndContains

public void testTransactionAndContains()
                                throws Exception
Throws:
Exception

testRollbackOnlyOnPersistenceException

public void testRollbackOnlyOnPersistenceException()
                                            throws Exception
Throws:
Exception

testRollbackExceptionOnOptimisticLockException

public void testRollbackExceptionOnOptimisticLockException()
                                                    throws Exception
Throws:
Exception

testRollbackClearPC

public void testRollbackClearPC()
                         throws Exception
Throws:
Exception

getAnnotatedClasses

public Class[] getAnnotatedClasses()
Overrides:
getAnnotatedClasses in class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.