mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-03-03 12:11:12 +00:00
renamed profiles and removed unnecessary@DirtiesContext annotation so the Test suite now runs in 40% less time
This commit is contained in:
parent
87e08f7b99
commit
3482d549ea
14 changed files with 11 additions and 31 deletions
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
|
||||
|
||||
<beans profile="jpa">
|
||||
<beans profile="jpa,spring-data-jpa">
|
||||
<!-- JPA EntityManagerFactory -->
|
||||
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
|
||||
p:dataSource-ref="dataSource">
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
|
||||
</beans>
|
||||
|
||||
<beans profile="plain-jpa">
|
||||
<beans profile="jpa">
|
||||
<!--
|
||||
Will automatically be transactional due to @Transactional.
|
||||
EntityManager will be auto-injected due to @PersistenceContext.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue