Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4 - Mailing list pgsql-jdbc

From sdavidr
Subject Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Date
Msg-id 1301299364557-4267176.post@n5.nabble.com
Whole thread Raw
In response to Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
List 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 by date:

Previous
From: Dave Cramer
Date:
Subject: Re: idea to have driver return immediately after a query
Next
From: Samuel Gendler
Date:
Subject: Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4