事务:@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
标签: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
标签:data hiberna password create source mysq 语句 AC use
原文地址:https://www.cnblogs.com/wmm1117/p/8467171.html