changelog - xphsc/EasyJdbc GitHub Wiki
更新日志
Changes in version 2.0.6
- Fix bugs Paging method sends pageinfo object parameters pagenum and PageSize an error;
- The count method passes in the SQL statement to filter the header space
- Fix bugs caused by version 2.0.5
Changes in version 2.0.5
- Fix bugs The public method findall transfers the attribute offset of pageinfo class ;
- Remove unnecessary methods and classes
- Add insert to filter empty inserts
- Add annotations @ createddate and @ modifieddate to fill in date values for insert and update, respectively
Changes in version 2.0.4
- Fix bugs annotation sqloptions failure
- Fix bugs annotation sqlupdate condition parameter
Changes in version 2.0.2 (2019-07-14)
- bug fix SQL注解查询返回Map泛型类型转换问题(Map->Map<string,object>)
Changes in version 2.0.0-RELEASE-2.0.1 (2019-06-21~2019-06-22)
- bug fix@version导致空指针修改问题 #IY4UJ by 蜗牛de战争
- 2.0.0-RELEASE 向easyjdbcao添加删除以通过传入初始化对象,2.0.1 修复delete
- Overall optimization of code structure
Changes in version 1.1.1-1.1.2 (2019-06-21~2019-06-22)
- bug fix@version导致空指针修改问题 #IY4UJ by 蜗牛de战争
- 1.1.1 向easyjdbcao添加删除以通过传入初始化对象,1.1.2 修复delete
- Overall optimization of code structure
Changes in version 2.0.0 (2019-05-26)
- 支持JDK1.8函数表达式
- 添加Optional的SQL注解返回
- 添加Example 条件 函数 表达式,例如示例: Example example=userDao.example(); Sorts sorts=new Sorts(); sorts.sort(Sorts.Direction.ASC,User::getId); example.orderByClause(sorts); Example.Criteria C= example.createCriteria(); C.andEqualTo(User::getId,2);
Changes in version 1.1.0 (2019-05-25)
- 添加乐观锁和@version进行更新
- 增加本地查询缓存并将useLocalCache设置为true或false
- 增加showsql并将showsql设置为true或false
- 将updateWithNull、insertForkey、exists、cacheClear添加到easyjdbcao
- 修复了注解@sqlupdate修改的多值问题
- 代码结构整体优化
1.0.7
- .优化,
- .增加分页offset,limit
easyjdbc-spring-boot-starter 更新到 1.0.6版本
- 升级easyjdbc到1.0.7
1.0.6-RELEASE
- .优化,删除多余代码
- .修复bug
easyjdbc-spring-boot-starter 更新到 1.0.5-RELEASE版本
- 升级easyjdbc到1.0.6-RELEASE
1.0.6-1.0.6.0
- .修复注解SqlSelectProvider统计count 返回类型支持long
- .降低JPA规范包persistence-api-1.0.2
- .代码优化
- .紧急修复1.0.6 版本因改动Example造成Example链式空指针问题
1.0.6-beta2
- .修复返回值Map判断造成@SqlSelect,@SqlSelectProvider注解返回类型单个Map或单对象空指针问题
1.0.6-beta1
- .优化整体代码
- .优化查询FindByIds,DeleteByIds
- .支持@SqlSelect,@SqlSelectProvider返回Map
- .增加新增返回主键值方法 在EasyJdbcTemplate 新增返回主键值 insertKey方法
- .增加SQL注解@SqlInsert,@SqlInsertProvider,SqlOptions,SqlUpdate,SqlUpdateProvider,SqlDelete,SqlDeleteProvider
1.0.6-beta
- .可自定义接口使用注解查询
- .只需继承公共查询类EasyJdbcDao<泛型>,无需继承实现类
- .增加SQL注解查询@SqlSelect,@SqlSelectProvider(参数注解@SqlParam)
1.0.4-1.0.5
- .解决Example条件or不起效问题
- .增加Example聚合函数查询 HAVING条件查询
- .增加批量删除方法deleteByIds(Iterable primaryKeyValues)根据ids;
- .增加Example条件like根据LikeType类型模糊查询andLike(String property, String value, LikeType likeType)
1.0.3
- .更换 JPA规范包并升级,使用javax.persistence-api
- .增加Example聚合函数查询
- .增加查询方法findByIds(Iterable values);
1.0.2
- 修改包路径