Browse Source

Use Jdbc3ConnectionPool from PostgreJDBC (#3439)

Michael Hixson 7 years ago
parent
commit
033885e853

+ 1 - 1
frameworks/Java/servlet/src/main/resources/WEB-INF/postgresql/resin-web.xml

@@ -2,7 +2,7 @@
 
 	<database jndi-name='jdbc/hello_world'>
 		<driver>
-			<type>org.postgresql.Driver</type><!-- TODO change this with the PooledConnection DS -->
+			<type>org.postgresql.jdbc3.Jdbc3ConnectionPool</type>
 			<url>jdbc:postgresql://TFB-database:5432/hello_world</url>
 			<user>benchmarkdbuser</user>
 			<password>benchmarkdbpass</password>