Re: Hibernate, web application and only one sequence for all primary keys - Mailing list pgsql-sql

From rawi
Subject Re: Hibernate, web application and only one sequence for all primary keys
Date
Msg-id 25491915.post@talk.nabble.com
Whole thread Raw
In response to Re: Hibernate, web application and only one sequence for all primary keys  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Hibernate, web application and only one sequence for all primary keys
Next
From: rawi
Date:
Subject: Re: Hibernate, web application and only one sequence for all primary keys