From: Christoph S. <ch...@sc...> - 2002-03-07 01:10:02
|
Gavin_King/Cirrus%CI...@ci... wrote: >Ah! duh, of course, didn't realise ..... you are using native key >generation >for a toplevel collection! Hadn't even occured to me. > >CollectionPersister.updateID() does the key generation for collections if >you want to have a look. > >Is it even possible to use native key generation for collections?? > >They don't have primary keys.... I mean, there are multiple rows, with the >same key. I've no idea how this would work. (I've never ever used native >key >generation myself, so excuse my ignorance.) > > > ok, then its not possible. I will add a check that the native idgenerator is not used for a collection. |