-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Armin,
> Have a look in method > SequenceManagerHighLowImpl#lookupStoreSequence(PersistenceBroker broker, > FieldDescriptor field, String seqName) > this method is called to store/lookup a HighLowSequence instance. > > OJB first lookup a HighLowSequence instance from DB based on the > sequence name. If not found OJB try to read the max key of the target > column (using: SELECT MAX(column) FROM table). > The returned value is used as start value for the new HighLowSequence > object. OJB obtain a new PB instance (separate connection) to > store/update the HighLowSequence object to avoid problems on rollback of > tx of the main PB instance. Thanks for your quick answer. I'll take a look. Regards, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (MingW32) Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDX3FDJ9/BHYFfmhMRAuB/AJ4um2iU5yZyJM5EqKWIJnboicBjpACgjHM2 zkCXjmljID9WyMNiwCaOPBg= =2IGh -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]