From 00fe1b2a6f7485adb181b8b778a2a3a3aad2f48f Mon Sep 17 00:00:00 2001 From: egmp777 Date: Tue, 13 May 2014 09:48:28 -0500 Subject: [PATCH] Same code just un-commented lines Uncommented lines to populate database in the tes --- .../hibernate/FooSortingPersistenceServiceTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-hibernate4/src/test/java/org/baeldung/persistence/hibernate/FooSortingPersistenceServiceTest.java b/spring-hibernate4/src/test/java/org/baeldung/persistence/hibernate/FooSortingPersistenceServiceTest.java index fbc041ec02..6b1f4318de 100644 --- a/spring-hibernate4/src/test/java/org/baeldung/persistence/hibernate/FooSortingPersistenceServiceTest.java +++ b/spring-hibernate4/src/test/java/org/baeldung/persistence/hibernate/FooSortingPersistenceServiceTest.java @@ -40,8 +40,8 @@ public class FooSortingPersistenceServiceTest { @Before public void before() { - // final FooSortingPersistenceServiceData fooData = new FooSortingPersistenceServiceData(); - // fooData.createBars(); + final FooSortingPersistenceServiceData fooData = new FooSortingPersistenceServiceData(); + fooData.createBars(); configuration = new Configuration(); configuration.setProperty("hibernate.dialect", "org.hibernate.dialect.MySQLDialect"); configuration.setProperty("dialect", "org.hibernate.dialect.MySQLDialect");