ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Lopez <plo...@tecisa74.com>
Subject Re: selectKey
Date Thu, 10 Feb 2005 15:34:36 GMT
Ron Grabowski wrote:
> At the bottom of my post I wrote this:
> 
> <!-- 
> The column named 'value' is used to set the PageID of the
> passed in Page object as well as return an int
> -->
> <selectKey property="PageID" type="post" resultClass="int">
> SELECT CAST(@@IDENTITY as int) as value
> </selectKey>

Yeah, thanks a lot.

Finally the problem had to do both with casts and syntax. I think both 
of them are wrong (or missing) in the manual, and yes, I skipped the 
solution, it was at the bottom of the same post :( sorry.

See you,

Pablo.

Mime
View raw message