JDBC Driver Modifies Calendar passed into setTimestamp() creates problem with Hibernate

Поиск
Список
Период
Сортировка
От Michael Youngstrom
Тема JDBC Driver Modifies Calendar passed into setTimestamp() creates problem with Hibernate
Дата
Msg-id 81cf350605042609585cb0da18@mail.gmail.com
обсуждение исходный текст
Ответы Re: JDBC Driver Modifies Calendar passed into setTimestamp()  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Antony Paul
Дата:
Сообщение: Impact of open ResultSets and PreparedStatements ?
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: JDBC Driver Modifies Calendar passed into setTimestamp()