mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-29 14:49:38 +00:00
renamed jdbc.properties -> data-access.properties
This commit is contained in:
parent
3fe122db45
commit
96cd34dfd6
3 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<!-- Configurer that replaces ${...} placeholders with values from a properties file -->
|
<!-- Configurer that replaces ${...} placeholders with values from a properties file -->
|
||||||
<!-- (in this case, JDBC-related settings for the JPA EntityManager definition below) -->
|
<!-- (in this case, JDBC-related settings for the JPA EntityManager definition below) -->
|
||||||
<context:property-placeholder location="classpath:spring/jdbc.properties"/>
|
<context:property-placeholder location="classpath:spring/data-access.properties"/>
|
||||||
|
|
||||||
<!-- enables scanning for @Transactional annotations -->
|
<!-- enables scanning for @Transactional annotations -->
|
||||||
<tx:annotation-driven />
|
<tx:annotation-driven />
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<!-- Configurer that replaces ${...} placeholders with values from a properties file -->
|
<!-- Configurer that replaces ${...} placeholders with values from a properties file -->
|
||||||
<!-- (in this case, JDBC-related settings for the dataSource definition below) -->
|
<!-- (in this case, JDBC-related settings for the dataSource definition below) -->
|
||||||
<context:property-placeholder location="classpath:spring/jdbc.properties"/>
|
<context:property-placeholder location="classpath:spring/data-access.properties"/>
|
||||||
|
|
||||||
<!-- DataSource configuration for Apache Commons DBCP. -->
|
<!-- DataSource configuration for Apache Commons DBCP. -->
|
||||||
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"
|
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"
|
||||||
|
|
Loading…
Reference in a new issue