ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Shpak <o...@rap-x.com>
Subject Factories to create result objects
Date Wed, 24 Aug 2005 08:51:08 GMT
Is there a way to configure iBatis Java to use a factory class (or,
better, instance) to create result objects instead of Class.newInstance

For example, I want to initialize my objects, i.e. set a property to
refer to a particular object of my application.

In general I can do this in my code after I retrieve results from 
iBatis, but there is nothing I can do when objects are fetched with lazy 


View raw message