When settings the 'autoincrement' attribute of @ojb.field to 'native', the xdoclet module doesn't generate 'autoincrement' attributes in the OJB repository descriptor. These are necessary to tell OJB that these are managed fields; without them, nothing works unless you manually assign values to the autoincremented fields, defeating the point really!
Setting 'autoincrement' to 'database' generates the 'autoincrement' attributes in the OJB repository descriptor fine. As far as I can tell, this is always the correct thing to do for an autoincrementing property; you then tell OJB how to manage autoincrement properties through the database connection descriptor. (Haven't figured out if there's a way to have some properties use native sequencing and some use OJB managed sequencing yet).
Cheers,
L.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]