Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
Στις Παρασκευή 07 Σεπτέμβριος 2007 11:05, ο/η Laurent LS. Savary έγραψε:
> Hi,
> I have a weird problem with jdbc PostGreSql driver 3

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 

Achilleas Mantzios

In response to

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group