Henning,

I have just read your archived message

http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=4107

regarding the generations of ids in postgresql.
I believe the current solution to generate an id is the standard way of
using a sequence (if I remember correctly, you implemented it :-) ):

(- start a transaction)
- get a value from the sequence
- set the primary key in the object from the sequence
- save the object
(- commit the transaction)

Is this compatible with Hibernate ?

I still have to think about the id-method parameter (and check whether it
works in head), but today is the first time I came across it.

    Thomas

--------------------------------------------------------------------

Dr. Thomas Fischer
Software-Entwicklung
Tel. +49 (0) 7531 36598-22
Fax +49 (0) 7531 36598-11
E-Mail  [EMAIL PROTECTED]

SEITENBAU GmbH
Robert-Gerwig-Str. 10-12
D-78467 Konstanz
http://www.seitenbau.com

Amtsgericht Konstanz HRB 1528
USt-IdNr.: DE 1905 525 50

Gesch�ftsf�hrer:
Florian Leinberger | Sebastian Roller | Rainer Henze
Prokuristen:
Jan Bauer | Stefan Eichenhofer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to