Examples of enableFetchProfile()


Examples of org.hibernate.Session.enableFetchProfile()

*/
public class MoreFetchProfileTest extends TestCase {

  public void testFetchWithTwoOverrides() throws Exception {
    Session s = openSession();
    s.enableFetchProfile( "customer-with-orders-and-country" );
    final Transaction transaction = s.beginTransaction();
    Country ctry = new Country();
    ctry.setName( "France" );
    Order o = new Order();
    o.setCountry( ctry );
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.