Skip to content
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

快速开始例子运行执行 sql 报语法错误 #65

Open
yuan-hy opened this issue Jul 14, 2022 · 0 comments
Open

快速开始例子运行执行 sql 报语法错误 #65

yuan-hy opened this issue Jul 14, 2022 · 0 comments

Comments

@yuan-hy
Copy link

yuan-hy commented Jul 14, 2022

  • 问题
org.springframework.jdbc.BadSqlGrammarException: 
### Error querying database.  Cause: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "SELECT  id,name,age,email  FROM [*]user"; expected "identifier"; SQL statement:
SELECT  id,name,age,email  FROM user [42001-214]
  • 环境

    • springboot 2.7.1
    • 其他使用官方例子的版本依赖
  • 暂时解决

    • 将 springboot 退回 2.6.7 版本即可正常使用例子,2.7.1 springboot 配置作了修改,希望官方可以修改例子或者说明支持的 springboot 版本
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant