Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4

Поиск
Список
Период
Сортировка
От sdavidr
Тема Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Дата
Msg-id 1301299364557-4267176.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4  (Samuel Gendler <sgendler@ideasculptor.com>)
Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4  (Oliver Jowett <oliver@opencloud.com>)
Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Yes, the problem is not only with version 9. The problem started with the
"returning *", that from my perspective is a very error prone solution and
of course it shows a poorly designed driver.

The question is: is it very difficult to change that to a more correct
returning [identifier] ?

Because of this error, third parties like hibernate expects that the first
returned element is the identifier, but that doesn't always happens.
Sometimes it returns a discriminator, sometimes it could be something else
that could be a long, and that could be disastrous if third party uses this
number as a identifier in an application.


Thanks.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Problems-with-Hibernate-Discriminators-and-9-0-801-jdbc4-tp4259788p4267176.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: idea to have driver return immediately after a query
Следующее
От: Samuel Gendler
Дата:
Сообщение: Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4