十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
我们以 MySQL 为例来思考这个问题:
mysql mysql-connector-java
或者至少把它作为测试的范围。
更多的来看看这里 -https://github.com/in28minutes/jpa-with-hibernate#installing-and-setting-up-mysql
配置 application.properties
spring.jpa.hibernate.ddl-auto=none spring.datasource.url=jdbc:mysql://localhost:3306/todo_examplespring.datasource.username=todouser spring.datasource.password=YOUR_PASSWORD