Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

  • 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

        AltStyle によって変換されたページ (->オリジナル) /