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

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.CustomColumnMapping

public class CustomColumnMapping
extends AbstractEntityTest

Test which checks if auditing when the revision number in the revision entity has a @Column annotation with a columnDefinition specified works.


Constructor Summary
CustomColumnMapping()
           
 
Method Summary
 void configure(Ejb3Configuration cfg)
           
 void initData()
           
 void testDatesForRevisions()
           
 void testFindRevision()
           
 void testHistoryOfId1()
           
 void testRevisionsCounts()
           
 void testRevisionsForDates()
           
 void testTimestamps()
           
 void testTimestamps1()
           
 
Methods inherited from class org.hibernate.envers.test.AbstractEntityTest
addConfigurationProperties, 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

CustomColumnMapping

public CustomColumnMapping()
Method Detail

configure

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

initData

public void initData()
              throws InterruptedException
Throws:
InterruptedException

testTimestamps1

public void testTimestamps1()

testTimestamps

public void testTimestamps()

testDatesForRevisions

public void testDatesForRevisions()

testRevisionsForDates

public void testRevisionsForDates()

testFindRevision

public void testFindRevision()

testRevisionsCounts

public void testRevisionsCounts()

testHistoryOfId1

public void testHistoryOfId1()


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