File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 55import org .springframework .context .support .ClassPathXmlApplicationContext ;
66
77public class App {
8+
89 public static void main (String [] args ) {
910 ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext (
1011 "applicationContext.xml" );
Original file line number Diff line number Diff line change 88 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
99 http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd" >
1010
11- <!-- Directory to scan for repository classes -->
1211 <jpa : repositories base-package =" com.iluwatar" />
1312
1413 <bean id =" transactionManager" class =" org.springframework.orm.jpa.JpaTransactionManager" >
3332 <property name =" jpaProperties" >
3433 <map >
3534 <entry key =" hibernate.dialect" value =" org.hibernate.dialect.H2Dialect" />
36- <entry key =" hibernate.hbm2ddl.auto" value =" update " />
35+ <entry key =" hibernate.hbm2ddl.auto" value =" create-drop " />
3736 </map >
3837 </property >
3938 </bean >
You can’t perform that action at this time.
0 commit comments