package cleanup
This commit is contained in:
parent
fcf3e693f5
commit
ca62e14784
|
@ -7,7 +7,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
|
|||
|
||||
@Configuration
|
||||
@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" })
|
||||
public class PersistenceXmlConfig {
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<bean id="sessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
|
||||
<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">
|
||||
<props>
|
||||
<prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto}</prop>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.spring.persistence.service;
|
||||
package org.baeldung.persistence.service;
|
||||
|
||||
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
|
||||
|
|
@ -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.Parent;
|
Loading…
Reference in New Issue