Package org.hibernate.envers.test.performance.complex

Examples of org.hibernate.envers.test.performance.complex.ChildEntity2


    private final static int NUMBER_INSERTS = 1000;

    private long idCounter = 0;

    private ChildEntity2 createChildEntity2() {
        ChildEntity2 ce = new ChildEntity2();
        ce.setId(idCounter++);
        ce.setNumber(12345678);
        ce.setData("some data, not really meaningful");
        ce.setStrings(new HashSet<String>());
        ce.getStrings().add("aaa");
        ce.getStrings().add("bbb");
        ce.getStrings().add("ccc");

        return ce;
    }
View Full Code Here

TOP

Related Classes of org.hibernate.envers.test.performance.complex.ChildEntity2

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.