I called PreparedStatement.setObject(Type.BIT, "1"). I expected this value registered true.
But it was actually false .
I find the code at github. I found the next code in AbstractMariaDbPrepareStatement.java:781
Types.BIT must be handled as a numeric type than a boolean type but the compatibility is important. So I think the next code is more appropriate.
And I tested on MySQL Connector/J. It handled Types.BIT as a numeric type.