MySQL Connector/J 8.0.26 Does Not Convert Varchar 'T'/'F' To Java Boolean
(Doc ID 2803914.1)
Last updated on SEPTEMBER 01, 2021
Applies to:MySQL Connectors - Version 8.0 and later
Information in this document applies to any platform.
In MySQL Connector/J 5.1 MySQL Connector is able to convert 'T'/'F' in a VARCHAR to True/False (boolean) in Java, but in MySQL Connector/J 8.0.26 it can't and throws an exception:
Backward incompatibility between MySQL Connector/J 5.1.49 and 8.0.26 on method ResultSet.getBoolean().
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document