Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The server's DateStyle parameter was changed to ISO. The JDBC driver requires DateStyle to begin with ISO for correct operation #1080
Hello and thank you for developing this software.
There seems to be a bug in the version 42.2.0.jre7 though:
I use Jetty 9.4.7 on CentOS 7.4 with PostgreSQL 9.6.6 with pgbouncer and postgresql-jdbc-4.2.0:
I run a WAR file in Jetty, compiled as following:
When I change the last line to
throws an exception:
However I do have datestyle setting in my postgresql.conf:
and I can see it at the console:
I.e. my datestyle setting (unchanged from stock installation) does begin with "ISO" as the exception wants it too.