Package org.hibernate.envers.test.entities.onetomany.ids

Examples of org.hibernate.envers.test.entities.onetomany.ids.SetRefIngEmbIdEntity


                .add(AuditEntity.relatedId("reference").eq(id3))
                .add(AuditEntity.id().eq(id1))
                .getSingleResult();

        assert rev1_related.size() == 0;
        assert rev2_related.equals(new SetRefIngEmbIdEntity(id1, "x", null));
        assert rev3_related.equals(new SetRefIngEmbIdEntity(id1, "x", null));
    }
View Full Code Here


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

        assert rev1_related.size() == 0;
        assert rev2_related.size() == 0;
        assert rev3_related.equals(new SetRefIngEmbIdEntity(id2, "y", null));
    }
View Full Code Here

TOP

Related Classes of org.hibernate.envers.test.entities.onetomany.ids.SetRefIngEmbIdEntity

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.