From c6cf96b641e7564e3fc7d787cb9f1ce59c312efc Mon Sep 17 00:00:00 2001 From: Ilkka Seppala Date: Wed, 22 Jul 2015 00:31:50 +0300 Subject: [PATCH] #55 Changed Hibernate to create-drop mode --- repository/src/main/java/com/iluwatar/App.java | 1 + repository/src/main/resources/applicationContext.xml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/src/main/java/com/iluwatar/App.java b/repository/src/main/java/com/iluwatar/App.java index 3dac5647e..748ed286e 100644 --- a/repository/src/main/java/com/iluwatar/App.java +++ b/repository/src/main/java/com/iluwatar/App.java @@ -5,6 +5,7 @@ import java.util.List; import org.springframework.context.support.ClassPathXmlApplicationContext; public class App { + public static void main(String[] args) { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( "applicationContext.xml"); diff --git a/repository/src/main/resources/applicationContext.xml b/repository/src/main/resources/applicationContext.xml index d68207f31..3fe15b2f6 100644 --- a/repository/src/main/resources/applicationContext.xml +++ b/repository/src/main/resources/applicationContext.xml @@ -8,7 +8,6 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd"> - @@ -33,7 +32,7 @@ - +