ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme J Sweeney <ibatis.u...@gjsweeney.com>
Subject Re: insert with id as return value
Date Tue, 04 Jul 2006 22:03:23 GMT
On Tue, 4 Jul 2006, Thomas Karl Schwaerzler wrote:

You don't have to do this

> 		link.setId(id);

as this call

> 		linkDao.insert(link);

will return you the id. Check the javadoc of your DAO (or 
LinkDAOImpl.java).

-- 
Graeme -

Mime
View raw message