Hi,

I am using a MySQL database with some tables having an autoincrement primary
key, and others having meaningful non-autoincrement primary keys.

If I assign 'SequenceManagerMySQLImpl' as 'sequence-manager' then I get the
logger all cluttered with "Could not find autoincrement attribute for class
..." warnings.

I see in the source that ClassDescriptor.getAutoIncrementField()
unconditionally spits warnings if an autoincrement field is not found. Is it
intended?

What should be the right approach to avoid this massive warning flow?

Should I somehow describe different sequencing policies individually for
different classes in 'class-descriptor'?
Should I implement my own sequence manager? I hardly believe so as my case
seems to be rather typical... But if yes, what would be the intended
approach to describing different sequencing policies in the repository?

Thanks in advance,

Regards,
Sergey




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to