MyBatis version
3.5.16
Database vendor and version
any vendor.
Test case or example project
<settings>
<setting name="multipleResultSetsEnabled" value="true"/>
</settings>
The multipleResultSetsEnabled
option has no practical effect. Whether you set it to true or false, this variable is not actually used in the code—at least not without any plugins. I believe that such a configuration can be misleading, and at the very least, there should be a log message indicating that this option alone has no effect.
Steps to reproduce
set multipleResultSetsEnabled option in xml configuration .
Expected result
has no log print;
Actual result
print warning in the initialize stage.
Comment From: harawata
Thank you for the report, @KimoriTama ,
The option is now marked as deprecated
and the documentations are updated.
There is no log message (it's a little bit tricky), but it should not be a big problem.