Package org.hibernate.envers.test.entities

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


                .add(AuditEntity.id().eq(id2))
                .getResultList();

        assert result.size() == 1;

        assert ((Object []) result.get(0))[0].equals(new StrIntTestEntity("b", 11, id2));
        assert ((DefaultRevisionEntity) ((Object []) result.get(0))[1]).getId() == 1;
        assert ((Object []) result.get(0))[2].equals(RevisionType.ADD);
    }
View Full Code Here

TOP

Related Classes of org.hibernate.envers.test.entities.StrIntTestEntity

Copyright © 2018 www.massapicom. 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.