ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: ibatis and best practices
Date Fri, 03 Mar 2006 19:40:00 GMT
In general a think that only using a java.util.Map when it is a must  
is considered a best practice.

Why not use a resultMap to map your results to your POJO.  That is  
what this framework was designed for?

On Mar 3, 2006, at 12:15 PM, Ashish Kulkarni wrote:

> Hi
> Recently i had asked question about designing java
> classes for resultset,
> So if i have desgined my java classes as per my
> requirement, and using java.util.HashMap to get result
> using ibatis, and then in my java program loading
> values from HashMap in my java class,
> am i not making the process slow by adding additional
> layer?
> Ashish
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

View raw message