Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
see https://github.com/mariadb-corporation/mariadb-connector-j/pull/194
Column Type | 2.x | 3.x |
---|---|---|
TINYINT UNSIGNED | Types.TINYINT | Types.SMALLINT |
SMALLINT UNSIGNED | Types.SMALLINT | Types.INTEGER |
INT UNSIGNED | Types.INTEGER | Types.BIGINT |
Refactor of 3.x leads to a regression in that regards, getColumnType must return SQL types, not java expected type
This is a bug, but it has been there for some time already, then a compatibility option `resultSetMetaDataUnsignedCompatibility` is added in order for 3.x previous version compatibility