[CONJ-893] DatabaseMetaData.getColumns regression causing TINYINT(x) with x > 1 to return BIT type in place of TINYINT Created: 2021-07-20 Updated: 2021-07-26 Resolved: 2021-07-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | metadata |
| Affects Version/s: | 2.7.3 |
| Fix Version/s: | 2.7.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | member sound | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
spring-boot-2.5.2 |
||
| Attachments: |
|
| Description |
|
Sidenote: I don't know exactly is this is an issue of hibernate or mariadb-java-client. Precondition: create a mariadb or mysql table as follows:
With entity class:
Run the application attached. The application runs and terminates without errors. Now the interesting part: upgrade the mariadb version in `pom.xml` to:
(which is the natively shipped version in `spring-boot-2.5.2`). Result: the startup validation fails:
This means `mariadb-2.7.3` must have introduced a change that causes this error. But I could not find any hint on this inside the changelogs. Please have a look. |
| Comments |
| Comment by Diego Dupin [ 2021-07-26 ] |
|
There has been a regression in 2.7.3 |