org.hibernate.ejb.test.exception
Class ExceptionTest

java.lang.Object
  extended by org.hibernate.testing.junit4.BaseUnitTestCase
      extended by org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
          extended by org.hibernate.ejb.test.exception.ExceptionTest

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


Field Summary
 
Fields inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
NO_CLASSES, NO_MAPPINGS
 
Constructor Summary
ExceptionTest()
           
 
Method Summary
protected  void addConfigOptions(Map options)
           
 Class[] getAnnotatedClasses()
           
 void testConstraintViolationException()
           
 void testEntityNotFoundException()
           
 void testInterceptor()
           
 void testOptimisticLockingException()
           
 
Methods inherited from class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase
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

ExceptionTest

public ExceptionTest()
Method Detail

testOptimisticLockingException

public void testOptimisticLockingException()
                                    throws Exception
Throws:
Exception

testEntityNotFoundException

public void testEntityNotFoundException()
                                 throws Exception
Throws:
Exception

testConstraintViolationException

public void testConstraintViolationException()
                                      throws Exception
Throws:
Exception

testInterceptor

public void testInterceptor()
                     throws Exception
Throws:
Exception

addConfigOptions

protected void addConfigOptions(Map options)
Overrides:
addConfigOptions in class org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase

getAnnotatedClasses

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


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