本项目是activejdbc-spring-boot-starter的演示项目 虽然只有数十行有效代码、但已经拥有了一定的实际使用价值
因此我将它命名为
由于功能专一且简单 本项目支持大部分主流数据库如 SQLite、PostgreSQL、Oracle、MySQL、MSSQL、H2、DB2、TiDB 以及各种兼容 MySQL、Oracle协议的其它数据库(未详尽测试、理论可行
- https://github.com/endlessworld/activejdbc-spring-boot-starter
- https://gitee.com/endlessvoid/activejdbc-spring-boot-starter
将本项目导入idea、修改application-native.yml配置文件 中的数据库和端口配置即可 然后执行maven打包 jar -jar 启动即可
spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
main:
allow-circular-references: true
application:
name: server
datasource:
type: com.zaxxer.hikari.HikariDataSource
jdbcUrl: jdbc:mysql://127.0.0.1:3306/activiti?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: root
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
springfox:
documentation:
enabled: true
server:
port: 9999- graalvm jdk11
- springboot 2.7.3
- activejdbc-spring-boot-starter 1.0.1.RELEASE
- activejdbc 3.1-j11
- lombok