ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niels Beekman" <n.beek...@wis.nl>
Subject RE: Factories to create result objects
Date Wed, 24 Aug 2005 08:53:53 GMT
This is already filed in JIRA, you could vote for it:



-----Original Message-----
From: Oleg Shpak [mailto:oleg@rap-x.com] 
Sent: woensdag 24 augustus 2005 10:51
To: user-java@ibatis.apache.org
Subject: Factories to create result objects

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