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

Examples of org.hibernate.envers.test.entities.ids.MulId


        cfg.addAnnotatedClass(SecondaryMulIdTestEntity.class);
    }

    @BeforeClass(dependsOnMethods = "init")
    public void initData() {
        id = new MulId(1, 2);

        SecondaryMulIdTestEntity ste = new SecondaryMulIdTestEntity(id, "a", "1");

        // Revision 1
        EntityManager em = getEntityManager();
View Full Code Here


        cfg.addAnnotatedClass(SetRefIngMulIdEntity.class);
    }

    @BeforeClass(dependsOnMethods = "init")
    public void initData() {
        id1 = new MulId(0, 1);
        id2 = new MulId(10, 11);
        id3 = new MulId(20, 21);
        id4 = new MulId(30, 31);

        // Revision 1
        EntityManager em = getEntityManager();
        em.getTransaction().begin();
View Full Code Here

        cfg.addAnnotatedClass(SetRefIngMulIdEntity.class);
    }

    @BeforeClass(dependsOnMethods = "init")
    public void initData() {
        ed1_id = new MulId(0, 1);
        ed2_id = new MulId(2, 3);

        ing2_id = new MulId(4, 5);
        ing1_id = new MulId(6, 7);

        EntityManager em = getEntityManager();

        SetRefEdMulIdEntity ed1 = new SetRefEdMulIdEntity(ed1_id.getId1(), ed1_id.getId2(), "data_ed_1");
        SetRefEdMulIdEntity ed2 = new SetRefEdMulIdEntity(ed2_id.getId1(), ed2_id.getId2(), "data_ed_2");
View Full Code Here

    @BeforeClass(dependsOnMethods = "init")
    public void initData() {
        EntityManager em = getEntityManager();

        str1_id = new MulId(1, 2);
        str2_id = new MulId(3, 4);

        coll1_id = new MulId(5, 6);

        MulIdTestEntity str1 = new MulIdTestEntity(str1_id.getId1(), str1_id.getId2(), "str1");
        MulIdTestEntity str2 = new MulIdTestEntity(str2_id.getId1(), str2_id.getId2(), "str2");

        SetRefCollEntityMulId coll1 = new SetRefCollEntityMulId(coll1_id.getId1(), coll1_id.getId2(), "coll1");
View Full Code Here

        cfg.addAnnotatedClass(BiMulIdRefIngEntity.class);
    }

    @BeforeClass(dependsOnMethods = "init")
    public void initData() {
        ed1_id = new MulId(1, 2);
        ed2_id = new MulId(3, 4);

        ing1_id = new MulId(5, 6);

        BiMulIdRefEdEntity ed1 = new BiMulIdRefEdEntity(ed1_id.getId1(), ed1_id.getId2(), "data_ed_1");
        BiMulIdRefEdEntity ed2 = new BiMulIdRefEdEntity(ed2_id.getId1(), ed2_id.getId2(), "data_ed_2");

        BiMulIdRefIngEntity ing1 = new BiMulIdRefIngEntity(ing1_id.getId1(), ing1_id.getId2(), "data_ing_1");
View Full Code Here

TOP

Related Classes of org.hibernate.envers.test.entities.ids.MulId

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.