call identity();
<insert id="addUser" parameterClass="user">
insert into User(UserName,Password) values(#userName#,#password#)
<selectKey keyProperty="uid" resultClass="int">
call identity()
</selectKey>
</insert>
posted on 2007-06-09 22:21
流浪汗 阅读(857)
评论(0) 编辑 收藏 所属分类:
OpenSource