ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swaroop belur <swaroop.be...@gmail.com>
Subject Questions regd ibatis best practices - need some help here
Date Wed, 22 Jul 2009 13:13:47 GMT

Hello all,

Is there any pointer/link or document which suggests using certain features
over others to achieve the same goal
to improve performance for example.  

1. Like for instance when executing an update query , we can either specify
parameterClass or parameterMap 
Which one is preferred  and why? 

2. Related to above - The cost of reflection while marshalling results. 
    eg. For  [1]  is there any relation to reflection or both are same

3. I was using ibator to generate some code today and observed by default it
does NOT generate any paramterMaps
Any reason for this. I hope this is the right forum to ask this question.It
generates paramterClass where requied and no maps

4. Also  is there any disadvantage  of using java.util.Map for providing
parameters instead of a Java Bean. Again any demerits
over using bean? 

5. Last - I am new and learning ibatis - is there any Best Practice FAQ . I
did search for best practices in this forum - but 
was not convinced i found answers to my questions. 

I am trying to understand how much better from both developing and
performance point will Spring-Ibatis integration
be better than Spring-JDBC integration

Really appreciate any response.

Thanks
sbelur






-- 
View this message in context: http://www.nabble.com/Questions-regd-ibatis-best-practices---need-some-help-here-tp24606061p24606061.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message