Skip to main content

MySQL Issues

This page documents quirks, peculiarities, problems, and troubleshooting for MySQL and Windward.

Treating TINYINT as Boolean

Some combinations of AutoTag and MySQL client will not evaluate a TINYINT as a boolean. In this case, you will get a type conversion error. For example,

Unable to cast object of type 'System.String' to type 'java.lang.Boolean'. (ClassCastException)

This error was observed in AutoTag with MySql Connector/NET 5.0.5. MySql Connector/NET 6.6.5 allowed the TINYINT to be treated as a boolean in AutoTag.

  • Was this article helpful?