Stack:
- PostgreSQL
- postgresql-9.0-801.jdbc4.jar
- Apache Commons
- commons-dbcp-1.4.jar
- Spring
- spring-xxx-3.0.5.RELEASE.jar
<b:bean class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close" id="yourid">
<b:property name="url" value="${yourprop.url}"/>
<b:property name="username" value="${yourprop.username}"/>
<b:property name="password" value="${yourprop.password}"/>
<b:property name="driverClassName" value="${yourprop.driverClassName}"/>
<b:property name="connectionProperties" value="ssl=true;sslfactory=org.postgresql.ssl.NonValidatingFactory;">
No comments:
Post a Comment