HACKER
TALK
Home
Channels
beta
Bookmarks
Messages
Notifications
Sign In
Comment
h2 springboot2.x 启动时建表问题
请问怎么才能让他启动时不自动建表
HD Superman
·
3 years ago
Across the Great Wall, we can reach every corner in the world.
hibernate 的配置参数可以关闭自动建表
Reply
Report
Replies
2
嗯对
·
3 years ago
我已经将他关闭了,然后出现了新的问题。因为需要持久化,h2第一次启动时是正常的,关闭再启动项目时就会出现注入失败的问题,但在mysql环境是没有的
Reply
Report
HD Superman
Joined 4 years ago
Across the Great Wall, we can reach every corner in the world.
github.com/hdsuperman
Follow
Message