Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update

Поиск
Список
Период
Сортировка
От Roland Roberts
Тема Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update
Дата
Msg-id 49C3DCD1.10806@astrofoto.org
обсуждение исходный текст
Ответ на Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Dave Cramer wrote:
> You should not use a trigger to generate the version info for
> hibernate. You should use the application's time.
Then why bother having the generated atribute to version?  That flies in
the face of the design of *Hibernate* in allowing this.  Hibernate
*does* do the right thing in querying the column to get the value back
after the update.  You're telling me to not do what Hibernate explicitly
say I can do.  Why?

roland

--
               PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                            6818 Madeline Court
roland@astrofoto.org                           Brooklyn, NY 11220


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Hibernate, JBoss, PostgreSQL, timestamp read doesn't match during update