Skip to content

Releases: CarmJos/EasySQL

[0.4.7] 版本更新

15 Mar 15:12
Compare
Choose a tag to compare

What's Changed

  • chore(deps): bump maven-shade-plugin from 3.3.0 to 3.4.0 by @dependabot in #63
  • chore(deps): bump maven-jar-plugin from 3.2.2 to 3.3.0 by @dependabot in #64
  • chore(deps): bump log4j.version from 2.18.0 to 2.19.0 by @dependabot in #65
  • chore(deps): bump beecp from 3.3.8 to 3.3.9 by @dependabot in #68
  • chore(deps): bump maven-shade-plugin from 3.4.0 to 3.4.1 by @dependabot in #67
  • chore(deps): bump annotations from 23.0.0 to 23.1.0 by @dependabot in #70
  • chore(deps): bump annotations from 23.1.0 to 24.0.0 by @dependabot in #71
  • chore(deps): bump maven-javadoc-plugin from 3.4.1 to 3.5.0 by @dependabot in #72
  • chore(deps): bump beecp from 3.3.9 to 3.4.0 by @dependabot in #73
  • chore(deps): bump log4j.version from 2.19.0 to 2.20.0 by @dependabot in #74
  • chore(deps): bump maven-compiler-plugin from 3.10.1 to 3.11.0 by @dependabot in #75
  • chore(deps): bump annotations from 24.0.0 to 24.0.1 by @dependabot in #76
  • chore(deps): bump maven-surefire-plugin from 2.22.2 to 3.0.0 by @dependabot in #77

Full Changelog: 0.4.6...0.4.7

[0.4.6] 版本更新: Metadata读取

16 Aug 19:22
Compare
Choose a tag to compare
Metadata快捷操作实例
public class EasySQLDemo {

    public void metadata(SQLManager sql) {

        // 操作数据库元数据,直接返回结果。
        CompletableFuture<Boolean> roFuture = sql.fetchMetadata(DatabaseMetaData::isReadOnly);
        CompletableFuture<Integer> maxColumnFuture = sql.fetchMetadata(DatabaseMetaData::getMaxColumnsInSelect);

        // 操作有 ResultSet 元数据。该方法会自动关闭ResultSet。
        CompletableFuture<Boolean> tableExists = sql.fetchMetadata(
                meta -> meta.getTables(null, null, "表名", new String[]{"TABKE"}),
                resultSet -> resultSet.next()
        );

        // SQLManager附带了几个常用元数据的获取方法。
        CompletableFuture<Boolean> tableExists2 = sql.fetchTableMetadata("表名").validateExist();
        CompletableFuture<Boolean> columnExists = sql.fetchTableMetadata("表名").isColumnExists("字段名");
        // 更多方法详见 TableMetadataBuilder 。
    }


}

What's Changed

  • chore(deps): bump maven-javadoc-plugin from 3.4.0 to 3.4.1 by @dependabot in #58

Full Changelog: 0.4.5...0.4.6

[0.4.5] 版本更新

10 Aug 12:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.4...0.4.5

[0.4.4] 版本更新

05 Aug 10:31
Compare
Choose a tag to compare

[0.4.3] 版本修复

09 Jul 22:51
Compare
Choose a tag to compare

[0.4.2] 版本更新

01 Jul 14:32
Compare
Choose a tag to compare

[0.4.1] 版本修复

22 Jun 12:49
248a6d6
Compare
Choose a tag to compare
  • fix(query) QueryAction#executeAsync() 并不以异步形式执行数据库查询操作。(#49)
  • feat(manager) 提供 #setExecutorPool() 方法便于设定异步操作所使用的线程池。

What's Changed

New Contributors

Full Changelog: 0.4.0...0.4.1

[0.4.0] 版本更新

09 Jun 06:10
Compare
Choose a tag to compare
  • feat(keys) 现在可以自定义返回的自增主键类型。
    现在可以通过 returnGeneratedKey(numberClass) 方法要求返回指定类型的自增主键。
  • feat(function)SQLHandler 添加 andThen 与 compose 方法

BREAKING CHANGES

  • 移除了对于“是否返回主键”的选择,一旦定义了主键类型,就代表action将返回该类型的主键。

Full Changelog: 0.3.18...0.4.0

[0.3.18] 版本修复

06 Jun 10:22
Compare
Choose a tag to compare
  • fix(debug) 修复debug消息中耗时计算异常的问题,并提供了更精确的耗时计算。

Full Changelog: 0.3.17...0.3.18

[0.3.17] 修改部署

02 Jun 19:06
Compare
Choose a tag to compare
  • chore 修改项目结构与部署方式
  • docs(repo) 修改依赖库地址介绍
  • ci(deploy) 添加 local-deploy 配置
  • test(query) 添加SuppressWarnings标识

Full Changelog: 0.3.16...0.3.17