From: Michael Youngstrom <youngm@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC Driver Modifies Calendar passed into setTimestamp() creates problem with Hibernate
Date: Tue, 26 Apr 2005 10:58:33 -0600
Message-ID: <81cf350605042609585cb0da18@mail.gmail.com> (raw)
There appears to be a possible problem with PreparedStatement's
setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
The Calendar object passed into this method is modified by
PostgreSQL's JDBC driver. This causes problems with Hibernate. I
offered a solution for hibernate to clone the calendar before calling
the method but Gavin King of Hibernate believes it's the JDBC driver's
problem. Here is the link to the hibernate bug discussed.
http://opensource.atlassian.com/projects/hibernate/browse/HHH-405
Mike
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: youngm@gmail.com
Subject: Re: JDBC Driver Modifies Calendar passed into setTimestamp() creates problem with Hibernate
In-Reply-To: <81cf350605042609585cb0da18@mail.gmail.com>
References: <81cf350605042609585cb0da18@mail.gmail.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