Skip to content

tinyint unsigned to Boolean [DATAJPA-1765] #2058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Aug 4, 2020 · 1 comment
Closed

tinyint unsigned to Boolean [DATAJPA-1765] #2058

spring-projects-issues opened this issue Aug 4, 2020 · 1 comment
Assignees
Labels
in: core Issues in core support status: invalid An issue that we don't feel is valid

Comments

@spring-projects-issues
Copy link

Neil Kwon opened DATAJPA-1765 and commented

mysql version : 8.x

column type : tinyint(1) unsigned

 

once Java interface projected from native query (with @Query annotation)

and original column type is tinyint(1) unsigned to java type  Boolean

 

 

// code placeholder
java.lang.IllegalArgumentException: Projection type must be an interface!

exception occurred which did not happen on 2.1.x version

 

But, column type : tinyint(1) is OKAY

 

 AS you guys know, Altering table makes us seek... 

 

 


Affects: 2.2.9 (Moore SR9), 2.3.2 (Neumann SR2)

1 votes, 2 watchers

@gregturn
Copy link
Contributor

gregturn commented May 3, 2023

As stated on #2157, we don't support custom conversions for projections.

@gregturn gregturn closed this as not planned Won't fix, can't repro, duplicate, stale May 3, 2023
@gregturn gregturn self-assigned this May 3, 2023
@gregturn gregturn added status: invalid An issue that we don't feel is valid and removed type: bug A general bug labels May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants