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

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Дата
Msg-id AANLkTindSSqZiZwtPYKFfmBn+VWqCOrq8F+YC6JLb-eF@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4  (sdavidr <david.ricoma@gmail.com>)
Ответы Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Список pgsql-jdbc
On 28 March 2011 21:02, sdavidr <david.ricoma@gmail.com> wrote:

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

BTW, the driver *does* do exactly this if you call the query execution
methods that take an array of column names to return as generated
keys.
You only get RETURNING * added to the query if you asked for
RETURN_GENERATED_KEYS without specifying any column names.
So it sounds like Hibernate is doing something wrong, but it's very
hard to tell without seeing a concrete testcase.

Oliver

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Problems with Hibernate Discriminators and 9.0-801.jdbc4