Jeff Butler-2 wrote:
> 
> You can do it with a result map like this:
> 
> <resultMap id="fredResult" class="somepackage.Fred">
>   <result property="id" columnIndex="1"/>
>   <result property="name" columnIndex="2"/>
> </resultMap>
> 
> Jeff Butler
> 

Ok, that looks perfect. Too bad I didn't see that in the docs I have, could
have saved some bandwidth in the tubes. Thanks Jeff for taking the time to
reply.
-- 
View this message in context: 
http://www.nabble.com/Can-You-Map-Column-Indexes-to-Properties--tf3559865.html#a9942088
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Reply via email to