Clinton, I have some time to devote to this. Do you? Here's my thinking:

BasicResultMap.getResults() iterates a fix list of result mappings. I don't
think we can do any sort of "expansion" with a @resultMap because of this,
but I am trying to find a method that will simply decode a sub resultmap
without incrementing the ResultSet?

I am beginning to look at non-collection @resultMap to be like an implicit
inheritence, would you? It's just a listing of additional properties to
decode. What do you think?

Paul


--- Clinton Begin <[EMAIL PROTECTED]> wrote:

> I can have a look at it.  I'm not sure what's involved, as that wasn't the
> original idea behind @resultMap.  On the surface, it looks simple.
> 
> 
> Cheers,
> Clinton
> 
> 
> On 3/30/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
> >
> > I have a business need for issue 225:
> > http://issues.apache.org/jira/browse/IBATIS-225
> >
> > It's too cumbersome to repeat a large result set mapping in another
> > query when eager fetching is required (joining to get a related object).
> > I should be able to use @resultMap without needing a collection.
> >
> > I am willing to work on it but I need someone else's help
> > because I do not know the ibatis source code as well as
> > I should :-) I believe the change needs to be made to
> > com.ibatis.sqlmap.engine.mapping.result.BasicResultMap
> > in method setNestedResultMappingValue.
> >
> > Is anyone willing to discuss this issue to develop a solution?
> >
> > Paul
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to