Skip to content
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

关于 Spring-data-r2dbc entity 和mysql 数据库中有关bit类型转换问题 #1951

Closed
clomanyao opened this issue Nov 26, 2024 · 1 comment
Assignees
Labels
status: invalid An issue that we don't feel is valid

Comments

@clomanyao
Copy link

Spring-data-r2dbc:3.3.5的版本中,其中mysql中有关的字段类型是bit,但是在转换为entity中的Boolean类型时出现BUG,虽然MySqlDialect有自己给注册了ByteToBooleanConverter 的转换器,但是在查询数据的时候并没有用到当前转换器,是因为R2DBC把有关的bit类型转为了HeapByteBuffer 类型,并不是Byte 类型,所以找不到合适的转换器,从而出现BUG

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 26, 2024
@schauder
Copy link
Contributor

Sorry, we can handle only tickets written in English.

@schauder schauder closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2024
@schauder schauder added status: invalid An issue that we don't feel is valid and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 27, 2024
@schauder schauder self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants