org.hibernate.ejb.test.callbacks
Class CallbacksTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
          extended by org.hibernate.ejb.test.callbacks.CallbacksTest

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


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
CallbacksTest()
           
 
Method Summary
 Class[] getAnnotatedClasses()
           
 void listenerAnnotation()
           
 void testCallBackListenersHierarchy()
           
 void testCallbackMethod()
           
 void testEntityListener()
           
 void testException()
           
 void testIdNullSetByPrePersist()
           
 void testPostPersist()
           
 void testPostUpdateCollection()
           
 void testPrePersistOnCascade()
           
 
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

CallbacksTest

public CallbacksTest()
Method Detail

testCallbackMethod

public void testCallbackMethod()
                        throws Exception
Throws:
Exception

testEntityListener

public void testEntityListener()
                        throws Exception
Throws:
Exception

testPostPersist

public void testPostPersist()
                     throws Exception
Throws:
Exception

listenerAnnotation

public void listenerAnnotation()
                        throws Exception
Throws:
Exception

testPrePersistOnCascade

public void testPrePersistOnCascade()
                             throws Exception
Throws:
Exception

testCallBackListenersHierarchy

public void testCallBackListenersHierarchy()
                                    throws Exception
Throws:
Exception

testException

public void testException()
                   throws Exception
Throws:
Exception

testIdNullSetByPrePersist

public void testIdNullSetByPrePersist()
                               throws Exception
Throws:
Exception

testPostUpdateCollection

public void testPostUpdateCollection()
                              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.