Hi,
I'm facing the same problem. Did you solved it ?
Thanks
-
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org
You don't need the batch, and I'm pretty sure it won't ever work with
the batch because the inserts don't happen when you call them (they
happen when you call executeBatch()) so your ids don't get set when
you expect them to.
Remove the lines related to the batch, and I think it'll work.
Larry
Thanks for ansering.
I do not use the batch.
I'm just doing two inserts then i commit. I still have an integrity contraint
violation.
-
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands,
Sorry!! I missed the thread.
Does it give you a runtime exception? Only if the code throws a runtime
exception the transaction will be rolled back
Vinaya
-Original Message-
From: Bruno Issenmann [mailto:b.issenm...@labsoft.fr]
Sent: Wednesday, July 21, 2010 1:07 PM
To: