package cleanup

This commit is contained in:
eugenp 2013-12-31 19:14:28 +02:00
parent fcf3e693f5
commit ca62e14784
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@Configuration @Configuration
@EnableTransactionManagement @EnableTransactionManagement
@ComponentScan({ "org.baeldung.spring.persistence.dao", "org.baeldung.spring.persistence.service" }) @ComponentScan({ "org.baeldung.persistence.dao", "org.baeldung.persistence.service" })
@ImportResource({ "classpath:hibernate4Config.xml" }) @ImportResource({ "classpath:hibernate4Config.xml" })
public class PersistenceXmlConfig { public class PersistenceXmlConfig {

View File

@ -10,7 +10,7 @@
<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"> <bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
<property name="dataSource" ref="dataSource" /> <property name="dataSource" ref="dataSource" />
<property name="packagesToScan" value="org.baeldung.spring.persistence.model" /> <property name="packagesToScan" value="org.baeldung.persistence.model" />
<property name="hibernateProperties"> <property name="hibernateProperties">
<props> <props>
<prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto}</prop> <prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto}</prop>

View File

@ -1,4 +1,4 @@
package org.baeldung.spring.persistence.service; package org.baeldung.persistence.service;
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic; import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;

View File

@ -1,4 +1,4 @@
package org.baeldung.spring.persistence.service; package org.baeldung.persistence.service;
import org.baeldung.persistence.model.Child; import org.baeldung.persistence.model.Child;
import org.baeldung.persistence.model.Parent; import org.baeldung.persistence.model.Parent;