We cheat.  In our insert method we manually get the next id from the
sequence, assign that value to a property of the object being inserted,
and then do the insert.

-----Original Message-----
From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 09, 2005 7:20 AM
To: user-java@ibatis.apache.org
Subject: inserting


Is there any way to get the some key value (for example, current
sequence ID in postgres gf get_last_insert_id() in MySQL) after the
record was inserted in the database?

-- 
Eugene N Dzhurinsky

Reply via email to