org.hibernate.envers.test.integration.superclass.auditparents
Class TotalAuditParentsTest
java.lang.Object
org.hibernate.envers.test.AbstractEnversTest
org.hibernate.envers.test.AbstractEntityTest
org.hibernate.envers.test.integration.superclass.auditparents.TotalAuditParentsTest
public class TotalAuditParentsTest
- extends AbstractEntityTest
Tests mapping of baby entity which declares its parent as audited with Audited.auditParents()
property.
Moreover, child class (mapped superclass of baby entity) declares grandparent entity as audited. In this case all
attributes of baby class shall be audited.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TotalAuditParentsTest
public TotalAuditParentsTest()
configure
public void configure(Ejb3Configuration cfg)
- Specified by:
configure
in class AbstractEntityTest
initData
public void initData()
testCreatedAuditTable
public void testCreatedAuditTable()
testCompleteAuditParents
public void testCompleteAuditParents()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.