Both tables are linked by constraints on primary keys, so i can't make only one
insert.
I must have missed something with the ibatis config or the doa manager.
Thanks for your time.
Bruno
-
To unsubscribe, e-mail:
Larry Meadors larry.meadors at gmail.com writes:
Wait - I'm REALLY confused. Can you post a stack trace?
Doh, I just noticed - this conversation should be on the new list.
Maybe it's time to start this as a new thread and give us the stack
trace and the relevant code anew. :)
The
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,
@ibatis.apache.org
Subject: Re: Transaction Rollback not working with iBatis + Spring
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