ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleksey2 <aleksey.shevche...@ms.com>
Subject populate same instance
Date Fri, 27 Jun 2008 15:56:14 GMT

Transfer tr1 = new Transfer();
tr.setId(123);
Transfer tr2 = getSqlMapper().queryForObject("selectTransferByRefId",tr1);

In the above code I get back a new instance of the Transfer object. Is there
any way to get tr1 Transfer object populated by the query?

Thanks
Aleksey
-- 
View this message in context: http://www.nabble.com/populate-same-instance-tp18158016p18158016.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message