数据库
sfreedt
这个作者很懒,什么都没留下…
展开
-
sql关键字与系统冲突报错 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token:
# sql关键字与系统冲突报错 Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "ORDER" "order"原创 2022-10-18 16:00:39 · 4198 阅读 · 0 评论 -
pgsql:net.sf.jsqlparser.parser.parseexception: encountered unexpected token: “offset“ “OFFSET“
查看sql发现字段名别名有个别的与系统名重复,需要加 “”,可以再application.yml添加配置如下。生成的sql在pg数据库中可以运行,但是在程序中报错。原创 2022-09-29 10:42:10 · 1544 阅读 · 0 评论 -
MongoDB在springboot项目中的配置
1.application.ymlspring: data: mongodb: uri: mongodb://root:123@localhost:27017 database: test2.application.propertiesspring.data.mongodb.uri=mongodb://root:123@localhost:27017spring.data.mongodb.database=test原创 2021-07-07 23:09:05 · 311 阅读 · 0 评论