mysql 数据库原则上是不允许存在列名大写的
比如说questionPath 应该为 question_path
JPA自动建表和查询的时候 即使类的变量名写着questionPath
也会在sql里找question_path
Spring data JPA数据库大小写问题
最新推荐文章于 2022-05-30 19:16:53 发布
mysql 数据库原则上是不允许存在列名大写的
比如说questionPath 应该为 question_path
JPA自动建表和查询的时候 即使类的变量名写着questionPath
也会在sql里找question_path