Performance and efficiency of Auto-Mapping

16 views
Skip to first unread message

Xyz Amos

unread,
Feb 26, 2017, 10:25:53 PM2/26/17
to mybatis-user
As the title says,will auto-mapping have any bad effect of perforamce and efficiency if I don't supply a resultMap?

Iwao AVE!

unread,
Feb 28, 2017, 10:38:10 AM2/28/17
to mybatis-user
Hi,

In general, yes, but it may depend on your use case.
Constructor auto-mapping looks inefficient.
Regarding non-constructor auto-mapping, the difference should be smaller in 3.4.x.

Regards,
Iwao

Xyz Amos

unread,
Feb 28, 2017, 11:32:54 PM2/28/17
to mybati...@googlegroups.com
@Iwao,I see,great thanks

--
You received this message because you are subscribed to a topic in the Google Groups "mybatis-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mybatis-user/zJL_MCFSQpM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mybatis-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages