fixes issue 31959: Incorrect posting data using postgresql jdbc connection pool
authorCarlos Aristu <carlos.aristu@openbravo.com>
Wed, 20 Jan 2016 18:52:48 +0100
changeset 28271 c48840608378
parent 28270 9cbd94b17c88
child 28272 c6ee63dab444
child 29286 2d066c78df2e
fixes issue 31959: Incorrect posting data using postgresql jdbc connection pool


There was a problem in the binary transfer of Dates performed by the postgresql library version 9.4-1201. This problem is not happening on version 9.4-1207 because when the queries are executed it now includes a mechanism to identify if the fields of the query need to update their format to binary.

For this reason, to fix the problem the postgresql jdbc driver has been upgraded to version 9.4-1207
build.xml
legal/Licensing.txt
lib/runtime/postgresql-9.4-1201.jdbc4.jar
lib/runtime/postgresql-9.4.1207.jre6.jar
--- a/build.xml	Wed Jan 20 12:20:10 2016 +0100
+++ b/build.xml	Wed Jan 20 18:52:48 2016 +0100
@@ -1104,7 +1104,7 @@
         <pathelement path="${base.lib}/runtime/log4j-1.2.16.jar" />
         <pathelement path="${base.lib}/runtime/commons-pool-1.5.6.jar" />
         <pathelement path="${base.lib}/runtime/commons-dbcp-1.4.jar" />
-        <pathelement path="${base.lib}/runtime/postgresql-9.4-1201.jdbc4.jar" />
+        <pathelement path="${base.lib}/runtime/postgresql-9.4.1207.jre6.jar" />
         <pathelement path="${base.lib}/runtime/ojdbc6.jar" />
         <pathelement path="${base.lib}/runtime/commons-collectionsi-3.2.1.jar" />
         <pathelement path="${base.lib}/runtime/ant-1.9.2.jar" />
--- a/legal/Licensing.txt	Wed Jan 20 12:20:10 2016 +0100
+++ b/legal/Licensing.txt	Wed Jan 20 18:52:48 2016 +0100
@@ -123,7 +123,7 @@
 All files under Apache Software License 2.0, available at
 http://www.apache.org/licenses/LICENSE-2.0
 
-# postgresql-9.4-1201.jdbc4.jar
+# postgresql-9.4.1207.jre6.jar
 Under the BSD license, also available at http://jdbc.postgresql.org/license.html  
 
 # xstream-1.3.1.jar
Binary file lib/runtime/postgresql-9.4-1201.jdbc4.jar has changed
Binary file lib/runtime/postgresql-9.4.1207.jre6.jar has changed