org.hibernate.envers.test.integration.reventity.trackmodifiedentities
Class CustomTrackingEntitiesTest
java.lang.Object
org.hibernate.envers.test.AbstractEnversTest
org.hibernate.envers.test.AbstractEntityTest
org.hibernate.envers.test.integration.reventity.trackmodifiedentities.CustomTrackingEntitiesTest
public class CustomTrackingEntitiesTest
- extends AbstractEntityTest
Tests proper behavior of entity listener that implements EntityTrackingRevisionListener
interface. CustomTrackingRevisionListener
shall be notified whenever an entity instance has been
added, modified or removed, so that changed entity name can be persisted.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomTrackingEntitiesTest
public CustomTrackingEntitiesTest()
configure
public void configure(Ejb3Configuration cfg)
- Specified by:
configure
in class AbstractEntityTest
initData
public void initData()
testTrackAddedEntities
public void testTrackAddedEntities()
testTrackModifiedEntities
public void testTrackModifiedEntities()
testTrackDeletedEntities
public void testTrackDeletedEntities()
testFindEntitiesChangedInRevisionException
public void testFindEntitiesChangedInRevisionException()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.