You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Larry Meadors <la...@gmail.com> on 2005/05/02 17:14:53 UTC
Re: selectKey and MySql problem
We are in the process of creating a more current example application now.
Sorry for the confusion. :(
On 4/30/05, Aitor Imaz <ai...@gmail.com> wrote:
>
> On 4/29/05, Lieven De Keyzer <li...@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?
>