fixes issue 31961: Incorrect posting data using postgresql jdbc connection pool
authorCarlos Aristu <carlos.aristu@openbravo.com>
Wed, 20 Jan 2016 19:01:04 +0100
changeset 28877 08ab0b08fa66
parent 28876 47332a87a797
child 28878 51a2befdaed1
fixes issue 31961: 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	Tue Jan 19 17:51:29 2016 +0100
+++ b/build.xml	Wed Jan 20 19:01:04 2016 +0100
@@ -1088,7 +1088,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	Tue Jan 19 17:51:29 2016 +0100
+++ b/legal/Licensing.txt	Wed Jan 20 19:01:04 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