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

From: rawi <only4com(at)web(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Hibernate, web application and only one sequence for all primary keys
Date: 2009-09-17 14:37:39
Message-ID: 25491915.post@talk.nabble.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message rawi 2009-09-17 14:47:13 Re: Hibernate, web application and only one sequence for all primary keys
Previous Message Tom Lane 2009-09-17 13:59:29 Re: Hibernate, web application and only one sequence for all primary keys