Autoincrement not working
Brought to you by:
drjava
I made a class with an autoincrement id field. When I
add a record to the table and commit the snapshot
everything works fine. But when I tried to add several
record, only committing at the end, the id turned out
to be the same for all of them (though one greater than
the id of the previously added record: so it did
increment, but only once, at the first record of the
insert batch). I tried to add a commitAndContinue
between the inserts but that didn't help either.
Logged In: YES
user_id=108455
Sorry for answering late, I think I'm not being notified
when new bugs are reported.
Can you provide me with a source sample? I'm doing the same
thing, and it works for me...