Re: Hibernate, web application and only one sequence for all primary keys

Поиск
Список
Период
Сортировка
От rawi
Тема Re: Hibernate, web application and only one sequence for all primary keys
Дата
Msg-id 25491915.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: Hibernate, web application and only one sequence for all primary keys  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql

Tom Lane-2 wrote:
> 
>> Grails/Hibernate wishes per default one sequence for all tables-PKs and
>> all
>> PKs as BigInt.
> 
> Redesign that software; this is fundamentally broken and stupid.
> 

Thank you Tom...
but redesigning Grails and Hibernate is far beyond my possibilities :)

I could work around this in my app and explicitly ask Hibernate to use my
hand made sequences in PostgreSQL.
While this asks me for some more definition work, I wanted to know, if this
is worth the effort...

I know it now, thanks :)

Kind regards, Rawi
-- 
View this message in context:
http://www.nabble.com/Hibernate%2C-web-application-and-only-one-sequence-for-all-primary-keys-tp25490498p25491915.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Hibernate, web application and only one sequence for all primary keys
Следующее
От: rawi
Дата:
Сообщение: Re: Hibernate, web application and only one sequence for all primary keys