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:

http://issues.apache.org/jira/browse/IBATIS-50

Niels

-----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
method?

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

loading.


Thanks,
Oleg


Mime
View raw message