testing work
This commit is contained in:
parent
43757b1955
commit
b9176ba5ef
|
@ -21,7 +21,7 @@ import com.google.common.base.Preconditions;
|
|||
@Configuration
|
||||
@EnableTransactionManagement
|
||||
@PropertySource({ "classpath:persistence-mysql.properties" })
|
||||
@ComponentScan({ "org.baeldung.spring.persistence.dao", "org.baeldung.spring.persistence.service" })
|
||||
@ComponentScan({ "org.baeldung.persistence.dao", "org.baeldung.persistence.service" })
|
||||
public class PersistenceConfig {
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -6,7 +6,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:persistenceConfig.xml" })
|
||||
public class PersistenceXmlConfig {
|
||||
|
||||
|
|
Loading…
Reference in New Issue