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