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 On Wed, Jul 21, 2010 at 10:19 AM, Bruno Issenmann <b.issenm...@labsoft.fr> wrote: > 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org