List of changes:
- Add
nullable
to<collection />
. If enabled, it skips the iteration when the collection isnull
instead of throwing an exception. To enable this feature globally, setnullableOnForEach=true
in the config. #1883
We also updated the version of Log4J dependency to 2.17.0.
Note that the scope of Log4J dependency in MyBatis’ pom.xml is ‘optional’ and it is very important for you to understand what it means.
- You can use MyBatis without Log4J.
- Adding MyBatis to your project’s dependency does not bring in Log4J implicitly.
- Updating MyBatis version does not make your project safer because it does not affect the Log4J version in your project.
- Regardless of the MyBatis version you are using, you can/have to update Log4J version independently.
Please see the 3.5.9 milestone page for the complete list of changes.
There is no known backward incompatible change since 3.5.8.