ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aitor Imaz <aitor.i...@gmail.com>
Subject Re: selectKey and MySql problem
Date Sat, 30 Apr 2005 09:24:57 GMT
On 4/29/05, Lieven De Keyzer <lieven_dekeyzer@hotmail.com> wrote:
> Right, should have read the API doc. It's because in the JPetStore example
> all inserts are done with the update() method. Thanks a lot.

I'm not 100% sure but I believe the iBATIS 1.0 DAO template didn't
have an insert method, so when the examples were ported to 2.0 the
update() calls weren't updated to insert() calls. I think I made the
same mistake.

Maybe the examples should be updated?

Mime
View raw message