1. .yml 配置
spring:datasource:type: com.alibaba.druid.pool.DruidDataSource#driverClassName: dm.jdbc.driver.DmDriver## todo 人大金仓driverClassName: com.kingbase8.Driverdruid:## todo 人大金仓master:url: jdbc:kingbase8://111.111.111.111:54321/dbname?currentSchema=dbnameusername: systempassword: local123
2.maven
<dependency><groupId>com.kingbase</groupId><artifactId>kingbase8</artifactId><version>8.2.0</version><scope>system</scope><systemPath>${pom.basedir}/libs/kingbase8-8.6.0.jar</systemPath></dependency>
3.maven 执行
mvn install:install-file -DgroupId=com.kingbase8 -DartifactId=kingbase8 -Dversion=8.6.0 -Dfile=(自己jar包的路径)\Kingbase8-8.6.0.jar -Dpackaging=jar -DgeneratePom=true
4.idea中