Examples of ChildEntity2


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
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.