- .yml 配置
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
#driverClassName: dm.jdbc.driver.DmDriver
## todo 人大金仓
driverClassName: com.kingbase8.Driver
druid:
## todo 人大金仓
master:
url: jdbc:kingbase8://111.111.111.111:54321/dbname?currentSchema=dbname
username: system
password: local123
2.maven
com.kingbase
kingbase8
8.2.0
system
${pom.basedir}/libs/kingbase8-8.6.0.jar
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中
————————————————