-
Notifications
You must be signed in to change notification settings - Fork 21
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
[feature] return a scalar value instead of a buffer for bit fields, such as Byte. #277
Comments
@underbell |
BIT(1) is should be represented as |
jchrys
added a commit
that referenced
this issue
Jul 28, 2024
Motivation: Currently, the R2DBC MySQL connector does not support the `tinyInt1isBit` MySQL parameter. Modifications: Updated the mapping of `TINYINT(1)` or `BIT(1)` values to boolean based on the `tinyInt1isBit` parameter. Result: Properly supports the `tinyInt1isBit` parameter. Resolves #277
jchrys
added a commit
that referenced
this issue
Jul 28, 2024
Motivation: Currently, the R2DBC MySQL connector does not support the `tinyInt1isBit` MySQL parameter. Modifications: Updated the mapping of `TINYINT(1)` or `BIT(1)` values to boolean based on the `tinyInt1isBit` parameter. Result: Properly supports the `tinyInt1isBit` parameter. Resolves #277
jchrys
added a commit
that referenced
this issue
Jul 28, 2024
Motivation: Currently, the R2DBC MySQL connector does not support the `tinyInt1isBit` MySQL parameter. Modifications: Updated the mapping of `TINYINT(1)` or `BIT(1)` values to boolean based on the `tinyInt1isBit` parameter. Result: Properly supports the `tinyInt1isBit` parameter. Resolves #277
jchrys
added a commit
that referenced
this issue
Aug 3, 2024
Motivation: BIT(1) should be treated as `Boolean`. Modification: set `Boolean.class` as `BIT(1)'s default java type. Result: Ensures `BIT(1)`` is handled as `Boolean` by default. like mysql-connector-j's implementation. Resolves #277
jchrys
added a commit
that referenced
this issue
Aug 3, 2024
Motivation: BIT(1) should be treated as `Boolean`. Modification: set `Boolean.class` as the default java type for `BIT(1)`. Result: Ensures that `BIT(1)` is handled as `Boolean` by default, similar to the implementation in MySQL Connector/j. Resolves #277
jchrys
added a commit
that referenced
this issue
Aug 3, 2024
Motivation: BIT(1) should be treated as `Boolean`. Modification: set `Boolean.class` as the default java type for `BIT(1)`. Result: Ensures that `BIT(1)` is handled as `Boolean` by default, similar to the implementation in MySQL Connector/j. Resolves #277
jchrys
added a commit
that referenced
this issue
Aug 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
r2dbc has ConverterNotFoundException [java.nio.HeapByteBuffer] to type [java.lang.Boolean] on boot 3.3.0
spring-projects/spring-data-relational#1824
Describe the solution you'd like
return a scalar value instead of a buffer for bit fields, such as Byte.
Additional context
spring-projects/spring-data-relational#1824 (comment)
The text was updated successfully, but these errors were encountered: