提交 e100c140 编写于 作者: Lqyang5080's avatar Lqyang5080

hibernate模板

上级 1119c321
<#ibiztemplate>
TARGET=PSSYSTEM
</#ibiztemplate>
<#if sys.getSupportDBTypes()??>
<#list sys.getSupportDBTypes() as aaa>
${aaa}
</#list>
</#if>
<#if sysrun.getPSDBDevInst()??>
<#assign dbinst = sysrun.getPSDBDevInst()>
spring:
......@@ -24,6 +18,21 @@ spring:
show-sql: true
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
${dbinst.getConnUrl()}
<#else>
spring:
datasource:
username: test
password: 'test'
url: jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf-8&usessl=false
driver-class-name: com.mysql.jdbc.Driver
jackson:
serialization:
indent-output: true
jpa:
hibernate:
ddl-auto: update
show-sql: true
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
</#if>
logging:
level:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册