Skip to content
Snippets Groups Projects
Commit 012cefe5 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

data connection configuration can be placed in /etc/minerva/db.properties

parent 1541e6ee
No related branches found
No related tags found
1 merge request!284Resolve "database configuration should be outside war file"
......@@ -9,7 +9,8 @@
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-4.0.xsd">
<context:property-placeholder location="classpath:db.properties" />
<context:property-placeholder ignore-resource-not-found="true" location="classpath:db.properties,file:/etc/minerva/db.properties" />
<!-- Data Source Declaration -->
<bean id="DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment