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.
Clinton On Thu, Mar 12, 2009 at 10:47 PM, Ivan Bojer <ivan.bo...@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? >