Examples of StrTestEntity


Examples of org.hibernate.envers.test.entities.StrTestEntity

        assert Arrays.asList(1).equals(getAuditReader().getRevisions(StrTestEntity.class, str2_id));
    }

    @Test
    public void testHistoryOfColl1() {
        StrTestEntity str1 = getEntityManager().find(StrTestEntity.class, str1_id);
        StrTestEntity str2 = getEntityManager().find(StrTestEntity.class, str2_id);

        MapUniEntity rev1 = getAuditReader().find(MapUniEntity.class, coll1_id, 1);
        MapUniEntity rev2 = getAuditReader().find(MapUniEntity.class, coll1_id, 2);
        MapUniEntity rev3 = getAuditReader().find(MapUniEntity.class, coll1_id, 3);
        MapUniEntity rev4 = getAuditReader().find(MapUniEntity.class, coll1_id, 4);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.