ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Java reflection performance
Date Fri, 13 Mar 2009 05:22:05 GMT
Reflection is not slow enough to worry about.  But if you don't specify the
result maps explicitly, then iBATIS has to access a bunch of metadata, look
stuff up in maps, and synchronize the call.  That's slower.  Still not
enough to worry about IMHO.


On Thu, Mar 12, 2009 at 10:47 PM, Ivan Bojer <Ivan.Bojer@citrix.com> wrote:

>  Ibatis documentation states that there is performance gain if one uses
> resultmaps instead of letting Ibatis figure out class mapping on its own. I
> could not find any more info about why is this a case!? Can anyone elaborate
> on this? Is this because reflection is slow in general?

View raw message