Re: Jdbc : DateStyle problem

From: Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Jdbc : DateStyle problem
Date: 2007-09-07 12:07:58
Message-ID: 200709071507.58540.achill@matrix.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2007-09-07 12:28:46 Re: Jdbc : DateStyle problem
Previous Message Heikki Linnakangas 2007-09-07 11:33:13 Re: Caching driver on pgFoundry?