I will fix this.
regards, Armin
Claudio Romano wrote:
Hi all,
i updated OJB from the rc3 to rc5. Now i have a problem with tables without an auto increment field. The Method "afterStore" in the SequenceManagerMySQLImpl class alway throws ArrayIndexOutOfBoundsException on these tables.
Am i doing something wrong?
This change causes my exception:
diff -u -r1.14 -r1.15 public void afterStore(JdbcAccess dbAccess, ClassDescriptor cld, Object
obj) throws SequenceManagerException
{
- FieldDescriptor fd = cld.getAutoIncrementField();
+ FieldDescriptor fd = cld.getAutoIncrementFields()[0];
Thanks Claudio Romano
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]