You can find the javadoc here: http://ibatis.apache.org/docs/java/dev/com/ibatis/sqlmap/engine/mapping/result/ResultObjectFactory.html
I was assuming you were wanting to map result values to a constructor. If you are trying to map results to a constructor, it would seem a tedious effort to use the ResultObjectFactory for this. I know it is lame that we don't have this functionality. But, we've discussed adding the constructor mapping functionality and have decided it is best to delay adding it until iB3 (no eta). Brandon On 1/7/07, Carfield Yim <[EMAIL PROTECTED]> wrote:
I just check for the document and I cannot see those APIs , http://ibatis.apache.org/docs/java/user/ , am I looking for wrong thing? On 1/8/07, Goga, Murtaza <[EMAIL PROTECTED]> wrote: > Have you considered using an implementation of ResultObjectFactory? It can be configured within iBatis or injected into the SqlMapExecutorDelegate. Either ways you will have control over the creation and subsequent initialization of objects. > > ________________________________ > > From: Peng Wang [mailto:[EMAIL PROTECTED] > Sent: Sun 1/7/2007 9:26 PM > To: user-java@ibatis.apache.org > Subject: Re: Can ibatis work with java object with constructor have parameters? > > > You can do this using Spring. I think iBatis does not have to support this. > > > On 1/8/07, Carfield Yim <[EMAIL PROTECTED] > wrote: > > To bad to hear that, is it planned to be implemented? > > On 1/8/07, Brandon Goodin < [EMAIL PROTECTED]> wrote: > > This is not currently implemented. > > > > Brandon > > > > > > On 1/6/07, Carfield Yim < [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]> > wrote: > > > I like to pass something to the object while initalization, can I > > > specific about that? > > > > > > > > > > > >