I found problem, <generatedKey> produce this:

<selectKey keyProperty="id" resultType="java.lang.Integer" type="post" >

should be use order="AFTER" instead of type="post"?

______________________________________________________________
> Od: "Jeff Butler" <[email protected]>
> Komu: [email protected]
> Datum: 14.11.2009 22:12
> Předmět: Re: what contain int return value for insert?
>
>The return value from the insert method is the number of rows inserted
>(in iBATIS3).
>
>Ibator will generated the proper code for generated keys - see the
><generatedKey> configuration element in the documentation.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to