terasolunaorg / terasoluna-gfw-web-multi-blank

Blank multi project for web application using TERASOLUNA Server Framework for Java (5.x)
29 stars 16 forks source link

Keep back compability in 5.0.x from updating MyBatis3.3 #220

Closed ikeyat closed 8 years ago

ikeyat commented 8 years ago

Description

We update MyBatis3.3 on 5.0.x. https://github.com/terasolunaorg/guideline/issues/1384 For back compatibility, it is necessary to configure to use CGLIB explicitly instead of JAVASSIST (default).

Possible Solutions

See https://github.com/terasolunaorg/guideline/pull/1388/files to know how to use CGLIB on MyBatis3.

Affects Version/s

ikeyat commented 8 years ago

Please comment out <dependency> for CGLIB as following others. https://github.com/terasolunaorg/terasoluna-gfw-web-multi-blank/blob/b4f4eed3953093efd01d93ef5f2bba6b5569b321/projectName-env/pom.xml#L99

ikeyat commented 8 years ago

Remove CGLIB from pom.xml. If users need it, users define it by themselves as following guideline.

ikeyat commented 8 years ago

If only <setting name="proxyFactory" value="CGLIB"/> remains without cglib, MyBatis fails to launch in spite it can launch with implicit default setting. We decide that remove <setting name="proxyFactory" value="CGLIB"/> and add some commented advice on the xml.