org.hibernate.envers.test.integration.reventity
Class DifferentDBSchemaTest

java.lang.Object
  extended by org.hibernate.envers.test.AbstractEnversTest
      extended by org.hibernate.envers.test.AbstractEntityTest
          extended by org.hibernate.envers.test.integration.reventity.DifferentDBSchemaTest

public class DifferentDBSchemaTest
extends AbstractEntityTest

Tests simple auditing process (read and write operations) when REVINFO and audit tables exist in a different database schema.


Constructor Summary
DifferentDBSchemaTest()
           
 
Method Summary
 void addConfigurationProperties(Properties configuration)
           
 void configure(Ejb3Configuration cfg)
           
 void initData()
           
 void testHistoryOfId1()
           
 void testRevinfoSchemaName()
           
 void testRevisionsCounts()
           
 
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

DifferentDBSchemaTest

public DifferentDBSchemaTest()
Method Detail

addConfigurationProperties

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

configure

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

initData

public void initData()
              throws InterruptedException
Throws:
InterruptedException

testRevinfoSchemaName

public void testRevinfoSchemaName()

testRevisionsCounts

public void testRevisionsCounts()

testHistoryOfId1

public void testHistoryOfId1()


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