sagacity-sqltoy 4.17.15 已经发布,这是一个基于 java 语言的 orm 框架。
此版本更新内容包括:
1、在默认ehcache的基础上支持caffeine框架
- pom引入caffeine依赖和spring-context-support
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>${caffeine.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring-framework.version}</version>
</dependency>
- 在yml配置文件中设置cacheType
# 此参数可以不设置,默认是ehcache
spring.sqltoy.cacheType=caffeine
详情查看:https://gitee.com/sagacity/sagacity-sqltoy/releases/4.17.15