Skip to content

Commit d9b2ce0

Browse files
committed
Db config import modified to make easier to understand
1 parent 940680b commit d9b2ce0

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/main/resources/database.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@
2626

2727
<tx:annotation-driven transaction-manager="transactionManager"/>
2828

29-
<beans profile="dev,prod">
30-
<import resource="classpath:/datasource-dev.xml"/>
31-
</beans>
29+
<beans profile="dev">
30+
<import resource="classpath:/datasource-dev.xml"/>
31+
</beans>
32+
33+
<beans profile="prod">
34+
<import resource="classpath:/datasource-dev.xml"/>
35+
<!--<import resource="classpath:/datasource-prod.xml"/>-->
36+
</beans>
3237

3338
<beans profile="test">
3439
<import resource="classpath:/datasource-test.xml"/>

0 commit comments

Comments
 (0)