Package org.hibernate.test.domain

Examples of org.hibernate.test.domain.Event


        largePerson = new Person();
        largePerson.setLastname("Bae");
        largePerson.setFirstname("Sunghyouk");
        for (int x = 0; x < 1000; x++) {
            Event event = new Event();
            event.setTitle("Event Title - " + x);
            event.setDate(new Date());
            largePerson.getEvents().add(event);
            event.setOrganizer(largePerson);
        }
    }
View Full Code Here

TOP

Related Classes of org.hibernate.test.domain.Event

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.