From: rawi <only4com@web.de>
To: pgsql-sql@postgresql.org
Subject: Re: Hibernate, web application and only one sequence for all primary keys
Date: Thu, 17 Sep 2009 07:37:39 -0700 (PDT)
Message-ID: <25491915.post@talk.nabble.com> (raw)
In-Reply-To: <10006.1253195969@sss.pgh.pa.us>
References: <25490498.post@talk.nabble.com>
<10006.1253195969@sss.pgh.pa.us>
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-tp2549...
Sent from the PostgreSQL - sql 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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: only4com@web.de
Subject: Re: Hibernate, web application and only one sequence for all primary keys
In-Reply-To: <25491915.post@talk.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