码迷,mamicode.com
首页 > 编程语言 > 详细

spring boot jpa

时间:2018-02-24 19:33:11      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:data   hiberna   password   create   source   mysq   语句   AC   use   

事务:@Transactional

数据库配置:

spring:
datasource:
url: jdbc:mysql://192.168.1.105/spring
data-username: root
data-password:
driver-class-name: com.mysql.jdbc.Driver
jpa:
hibernate:
ddl-auto: create
#开发能看到sql语句
show-sql: true

spring boot jpa

标签:data   hiberna   password   create   source   mysq   语句   AC   use   

原文地址:https://www.cnblogs.com/wmm1117/p/8467171.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!