org.hibernate.envers.test.integration.onetomany.detached
Class IndexedJoinColumnBidirectionalList

java.lang.Object
  extended by org.hibernate.envers.test.AbstractEnversTest
      extended by org.hibernate.envers.test.AbstractEntityTest
          extended by org.hibernate.envers.test.integration.onetomany.detached.IndexedJoinColumnBidirectionalList

public class IndexedJoinColumnBidirectionalList
extends AbstractEntityTest

Test for a "fake" bidirectional mapping where one side uses @OneToMany+@JoinColumn (and thus owns the relatin), and the other uses a @ManyToOne(insertable=false, updatable=false).


Constructor Summary
IndexedJoinColumnBidirectionalList()
           
 
Method Summary
 void configure(Ejb3Configuration cfg)
           
 void createData()
           
 void testHistoryOfEd1()
           
 void testHistoryOfEd2()
           
 void testHistoryOfEd3()
           
 void testHistoryOfIng1()
           
 void testHistoryOfIng2()
           
 void testRevisionsCounts()
           
 
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

IndexedJoinColumnBidirectionalList

public IndexedJoinColumnBidirectionalList()
Method Detail

configure

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

createData

public void createData()

testRevisionsCounts

public void testRevisionsCounts()

testHistoryOfIng1

public void testHistoryOfIng1()

testHistoryOfIng2

public void testHistoryOfIng2()

testHistoryOfEd1

public void testHistoryOfEd1()

testHistoryOfEd2

public void testHistoryOfEd2()

testHistoryOfEd3

public void testHistoryOfEd3()


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