org.hibernate.envers.test.integration.jta
Class JtaExceptionListener

java.lang.Object
  extended by org.hibernate.envers.test.AbstractEnversTest
      extended by org.hibernate.envers.test.AbstractEntityTest
          extended by org.hibernate.envers.test.integration.jta.JtaExceptionListener

public class JtaExceptionListener
extends AbstractEntityTest

Same as ExceptionListener, but in a JTA environment.


Constructor Summary
JtaExceptionListener()
           
 
Method Summary
 void addConfigurationProperties(Properties configuration)
           
 void configure(Ejb3Configuration cfg)
           
 void testDataNotPersisted()
           
 void testTransactionRollback()
           
 
Methods inherited from class org.hibernate.envers.test.AbstractEntityTest
close, getAuditReader, getCfg, getEntityManager, init, init, newEntityManager
 
Methods inherited from class org.hibernate.envers.test.AbstractEnversTest
data, getAuditStrategy, setTestData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JtaExceptionListener

public JtaExceptionListener()
Method Detail

configure

public void configure(Ejb3Configuration cfg)
Specified by:
configure in class AbstractEntityTest

addConfigurationProperties

public void addConfigurationProperties(Properties configuration)
Overrides:
addConfigurationProperties in class AbstractEntityTest

testTransactionRollback

public void testTransactionRollback()
                             throws Exception
Throws:
Exception

testDataNotPersisted

public void testDataNotPersisted()
                          throws Exception
Throws:
Exception


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