Re: Reusing resultmap for nested object

2005-11-18 Thread Medium
Hi Jeff, Thanks for the clarification. I have filed a jira request (IBATIS-225) Anyone who may find this useful, please vote for it. Huy Jeff Butler wrote: I believe this is because reusing result maps is a feature of the "groupBy" function, and iBATIS assumes the property will be a Collect

Re: Reusing resultmap for nested object

2005-11-17 Thread Jeff Butler
I believe this is because reusing result maps is a feature of the "groupBy" function, and iBATIS assumes the property will be a Collection of some kind.  So, the real answer is that you can reuse result maps if your properties are collections.  Otherwise not.   I'm not sure if this is an oversight

Re: Reusing resultmap for nested object

2005-11-17 Thread Medium
I tried this, but get the following error. I am using the java version 2.1.6.589 (Sorry about the long trace). Hoping someone can shed some light on this. Thanks. Huy My map is below: extends="pickResultMap"> org.springframework.jdbc.UncategorizedSQLExcepti

Re: Reusing resultmap for nested object

2005-11-16 Thread Medium
Thanks for responding Gilles. Thats great news. I just couldn't find it in the docs. I also missed it in the Not Yet Documented on the wiki. Thanks again. Gonna go refactor my maps now. Huy Gilles Bayon wrote: This syntax is supported . On 11/16/05, *Medium* <[EMAIL PROTECTED]

Re: Reusing resultmap for nested object

2005-11-16 Thread Gilles Bayon
This syntax   is supported .  On 11/16/05, Medium <[EMAIL PROTECTED]> wrote: Hi,Is there a way to reuse a resultmap for a nested object ?I know how to map it as specified by the docs but its getting a bit unwieldly with all the repetition.Docs: Goal: Any help would be greatly appreciated. A simp

Reusing resultmap for nested object

2005-11-15 Thread Medium
Hi, Is there a way to reuse a resultmap for a nested object ? I know how to map it as specified by the docs but its getting a bit unwieldly with all the repetition. Docs: Goal: Any help would be greatly appreciated. A simple yah or nah would do fine as well. Thanks Huy