ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Engel, Gregory A" <GAEn...@Tribune.com>
Subject RE: Auto-generated keys using Sybase
Date Tue, 14 Jun 2005 18:44:58 GMT
I'm using Sybase here and it is the same as MS SQL Server
I do this inside the insert.

   	<selectKey resultClass="long" keyProperty="id">
		SELECT @@identity as id

Straight from the help files....

View raw message