mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-02-03 04:51:10 +00:00
removed default profile and replaced with "jpa"
This commit is contained in:
parent
ea81fe07d8
commit
5cfd482edc
3 changed files with 7 additions and 7 deletions
|
|
@ -27,12 +27,12 @@
|
|||
|
||||
|
||||
<!-- ================== 3 Profiles to choose from ===================
|
||||
- default (uses JPA)
|
||||
- jdbc (uses Spring" JdbcTemplate)
|
||||
- jpa
|
||||
- spring-data-jpa
|
||||
=============================================================================-->
|
||||
|
||||
<beans profile="default,spring-data-jpa">
|
||||
<beans profile="jpa,spring-data-jpa">
|
||||
<!-- JPA EntityManagerFactory -->
|
||||
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
|
||||
p:dataSource-ref="dataSource">
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<context:component-scan base-package="org.springframework.samples.petclinic.repository.jdbc"/>
|
||||
</beans>
|
||||
|
||||
<beans profile="default">
|
||||
<beans profile="jpa">
|
||||
<!--
|
||||
Loads JPA beans
|
||||
Will automatically be transactional due to @Transactional.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue