You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Mahler Thomas <th...@itellium.com> on 2003/05/12 10:39:03 UTC

FW: SequenceManager implementation.

 
-----Original Message-----
From: Craig Main [mailto:craigmain@icon.co.za]
Sent: Thursday, May 08, 2003 11:55 PM
To: thma@apache.org
Subject: SequenceManager implementation.


Hi Thomas,
I am using OJB.
 
I have written a Sequence Manager for sql server identity columns, but the
afterStore method is getting called before the attempt to store the object
and the id is therefore zero. In addition, the autoincrement field has a
specified value when the object is persisted. The autoincrement field should
not appear in the value list if the database is assigning the ID.
 
How do I alter this behaviour?
 
Kind Regards
Craig