Skip to content

MySQL dialect converts all byte properties to boolean #589

@hurahurat

Description

@hurahurat

I found that spring-data-r2dbc can read tinyint field as Byte type but I got 0 or 1 for tinyint fields in mysql/maridb database when inserting data.
It seems like byte field is converted to Boolean because of ByteToBooleanConverter in MySqlDialect class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions