使用 devtools 启动热部署,添加 devtools 库,在配置文件中把 spring. devtools. restart. enabled 设置为 true;使用 Intellij Idea 编辑器,勾上自动编译或手动重新编译。109.jpa 和 hibernate 有什么区别?jpa 全称 Java Persistence API,是 Java 持久化接口规范,hibernate 属于 jpa 的具体实现。

Was this helpful?

0 / 0

发表回复 0

Your email address will not be published.