From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Jdbc : DateStyle problem
Date: Fri, 7 Sep 2007 15:07:58 +0300
Message-ID: <200709071507.58540.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <479CB622341AE44B81A6577D934714EE058F62@CETAUTOMATIX.medial.fr>
References: <479CB622341AE44B81A6577D934714EE058F62@CETAUTOMATIX.medial.fr>
Στις Παρασκευή 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: Jdbc : DateStyle problem
In-Reply-To: <200709071507.58540.achill@matrix.gatewaynet.com>
References: <479CB622341AE44B81A6577D934714EE058F62@CETAUTOMATIX.medial.fr> <200709071507.58540.achill@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox