ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: selectKey
Date Thu, 10 Feb 2005 14:05:20 GMT
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>

--- Pablo Lopez <plopez@tecisa74.com> wrote:

> Hi,
> 
> I'm having exactly the same problem described at:
> 
>
http://www.mail-archive.com/ibatis-user-cs@incubator.apache.org/msg00055.html
> 
> (I wasn't subscribed yet)
> 
> I guess it had no responses.
> 
> Any help on retrieving auto-generated keys in insertions?
> 
> Thanks,
> 
> Pablo.
> 
> 


Mime
View raw message