Skip to content

SQL containing escape '\' as result of findAllByXXXContaining fails on MySQL 8.0  #3216

@tarepanda1024

Description

@tarepanda1024

When I using findAllByXXXContaining() , jpa generate sql , and append "escape '' ", this makes sql exec failed.Is this a bug or feature ? How can I avoid this?

image

SpringBootVersion: 3.1.5
SpringDataJpaVersion: 3.1.5
JDK:jdk21
mysql:8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: external-projectFor an external project and not something we can fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions