Question about MyBatis external dependencies

13 views
Skip to first unread message

François Schiettecatte

unread,
May 23, 2013, 8:43:54 AM5/23/13
to mybati...@googlegroups.com
Hi

I am currently using mybatis 3.2.2 and doing some code cleanup as well as thinking ahead.

I think I read on this mailing list that asm-3.3.1.jar and cglib-2.2.2.jar were going be to dropped as dependencies in future releases of mybatis, namely 3.2.3 onwards. I checked the archives but could not find any mention of this, am I dreaming this?

Thanks

François


Jeff Butler

unread,
May 23, 2013, 9:44:56 AM5/23/13
to mybati...@googlegroups.com
There was some discussion of replacing cglib with javassist.  I can't remember what happened with that effort.

Neither of these are required and are only used with lazy loading is enabled - which usually offers very little actual benefit and should never be enabled "just because it sounds cool".  MyBatis works very well with no external dependencies.

Jeff Butler




François


--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mybatis-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Eduardo Macarron

unread,
May 24, 2013, 12:29:56 AM5/24/13
to mybati...@googlegroups.com
3.2 can use Javassist instead of CGLIB. But, as Jeff pointed, if you are using lazy load you need at least one of them. 

Reply all
Reply to author
Forward
0 new messages