#3162·mybatis-3

BaseJdbcLogger jdbctype=Array The log parameter becomes null

Author: smagicalCreated May 17, 2024Updated Jun 14, 2026
Labelswaiting for feedback

MyBatis version

3.5.16

The setColum of BaseJdbcLogger records parameter information. When the jdbc type is Array, if Array.free() is called, the saved parameters will become empty. It is recommended to call Array.getArray() when judging that the type is Array to take out the array from Array to prevent Clearing Array.free() causes the debug log to become null.