Hi, I am using PB with DB2 and autoincrement set on. OJB is setup with the SequenceNativeImplManager. My question is, I know that there is a way to retrieve an ID for an object before it gets stored! I read it somewhere but - unfortunately - cannot find the source anymore. I assume I have to use the class Identity? Any help is appreciated. My temporary workaround is to store the object and retrieve it back immediately (with the oid), but this seems not to be the best way... thx, Dirk
How to get a generated ID before an object is stored?
Dirk Manske (Service Respond) Sun, 18 Jan 2004 15:41:52 -0800
- Re: How to get a generated ID before an obje... Dirk Manske (Service Respond)
- Re: How to get a generated ID before an... Armin Waibel
- AW: How to get a generated ID befor... Dirk Manske (Service Respond)
- Re: AW: How to get a generated ... Armin Waibel
