人大金仓KingBaseV8R6 连接Springboot jpa 配置

  • Post author:
  • Post category:其他


spring:
  profiles: development-mysql
  datasource:
    name: kingbase8
    driver-class-name: com.kingbase8.Driver
    url: jdbc:kingbase8://127.0.0.1:54321/eia_test?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
    username: xoops_root
    password: matech.8001
  jpa:
    open-in-view: false
    show-sql: true
    hibernate:
      ddl-auto: update # Hibernate ddl auto (none, create, create-drop, update, validate)
    properties:
      hibernate.dialect: org.hibernate.dialect.Kingbase8Dialect
      hibernate.format_sql: true
      hibernate.max_fetch_depth: 1
      hibernate.generate_statistics: true
      hibernate.use_sql_comments: false

引入相关jar包依赖

下载地址:

https://www.kingbase.com.cn/download/c_id/455.html



版权声明:本文为qq_30024063原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。