Refactor Lazy/Eager loading examples

This commit is contained in:
Grzegorz Piwowarek 2016-08-18 20:25:12 +02:00
parent 779188929a
commit 2c18c48803
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package com.baeldung.hibernate.fetching;
import com.baeldung.hibernate.fetching.model.OrderDetail;
import com.baeldung.hibernate.fetching.view.FetchingAppView;
import org.hibernate.Hibernate;
import org.junit.Before;
import org.junit.Test;
import java.util.Set;
@ -14,7 +15,7 @@ public class HibernateFetchingTest {
//this loads sample data in the database
// @Before
@Before
public void addFecthingTestData(){
FetchingAppView fav = new FetchingAppView();
fav.createTestData();