Re: Jdbc : DateStyle problem - Mailing list pgsql-jdbc

From Achilleas Mantzios
Subject Re: Jdbc : DateStyle problem
Date
Msg-id 200709071507.58540.achill@matrix.gatewaynet.com
Whole thread Raw
In response to Jdbc : DateStyle problem  ("Laurent LS. Savary" <laurent.savary@medial.fr>)
List pgsql-jdbc
Στις Παρασκευή 07 Σεπτέμβριος 2007 11:05, ο/η Laurent LS. Savary έγραψε:
> Hi,
>
> I have a weird problem with jdbc PostGreSql driver 3
[snip]

Since you are working with java it is useless to try to format/parse
dates/timestamps with DateStyle.
Setting DateStyle is great maybe for dba scripts/reports/etc..
but for your case, just use java.text.SimpleDateFormat for both
parsing/printing.

--
Achilleas Mantzios

pgsql-jdbc by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: Caching driver on pgFoundry?
Next
From: Oliver Jowett
Date:
Subject: Re: Jdbc : DateStyle problem