Skip to content

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 #745

Open
@sysmat

Description

@sysmat
  • java 17
  • spring-boot-starter-parent: 2.6.4; spring-boot-starter-webflux; r2dbc-mysql
  • person record:
@Table("person")
record Person(@Id Integer id, String name, String surname) {}
  • person repository:
public interface PersonRepo extends ReactiveCrudRepository<Person, Integer>{}
  • person controller:
@GetMapping("/{id}")
private Mono<Person> findById(@PathVariable Integer id) {
        return personRepo.findById(id);
    }
  • error:
    Caused by: com.github.jasync.sql.db.mysql.exceptions.MySQLException: Error 1064 - #42000 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions