From: sdavidr <david.ricoma@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Date: Mon, 28 Mar 2011 01:02:44 -0700 (PDT)
Message-ID: <1301299364557-4267176.post@n5.nabble.com> (raw)
In-Reply-To: <AANLkTi=muHS+5uUaOoc-6EtNoMBWe39kotKxNTSXKqt-@mail.gmail.com>
References: <1300923357612-4259788.post@n5.nabble.com>
<AANLkTi=muHS+5uUaOoc-6EtNoMBWe39kotKxNTSXKqt-@mail.gmail.com>
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-tp4...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
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: david.ricoma@gmail.com
Subject: Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
In-Reply-To: <1301299364557-4267176.post@n5.nabble.com>
References: <1300923357612-4259788.post@n5.nabble.com> <AANLkTi=muHS+5uUaOoc-6EtNoMBWe39kotKxNTSXKqt-@mail.gmail.com> <1301299364557-4267176.post@n5.nabble.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