完全移除对外部工具库 plusone-commons 和 Guava 的编译期依赖, 将所需功能内化实现,使项目成为真正的零依赖轻量级 JDBC 封装库。 - 新增 AssertTools: 断言工具(checkArgument / checkNotNull / checkState / checkCondition) - 新增 NamingTools: 命名转换(camelToSnake) - 新增 ThrowingConsumer / ThrowingPredicate: 可抛受检异常的函数式接口 - 新增 AssertToolsTests: 完整覆盖断言工具所有方法及边界场景 - pom.xml 移除 plusone-dependencies BOM,直接声明 jsr305 / test 依赖版本 - DefaultBeanRowMapper 使用 NamingTools.camelToSnake 替代 Guava CaseFormat - ParamBuilder 内联 Optional 展开逻辑,去除 OptionalTools / CollectionTools - JdbcOperationSupport 用 null/长度判断替代 ArrayTools.isEmpty/isNotEmpty - NOTICE 移除第三方依赖声明;README 移除无依赖分支说明 - 测试:新增缩写映射(URL/XML/ID/HTML/HTTP)覆盖、TransactionException 构造器测试 BREAKING CHANGE: BatchUpdateStatus 不再实现 IWithIntCode 接口; plusone-commons 和 Guava 不再作为传递依赖提供。
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
Simple JDBC
|
|
Copyright 2022-2026 ZhouXY
|
|
|
|
This product is licensed under the Apache License, Version 2.0.
|
|
You may obtain a copy of the License at:
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
================================================================================
|
|
Test Dependencies (Not included in distribution)
|
|
================================================================================
|
|
|
|
1. JUnit Jupiter (org.junit.jupiter:junit-jupiter)
|
|
Copyright 2015-2026 JUnit Team
|
|
Licensed under the Eclipse Public License 2.0
|
|
|
|
2. Logback (ch.qos.logback:logback-classic)
|
|
Copyright (C) 1999-2026, QOS.ch
|
|
Licensed under the Eclipse Public License 1.0
|
|
and GNU Lesser General Public License 2.1
|
|
|
|
3. H2 Database (com.h2database:h2)
|
|
Copyright 1999-2026 H2 Database Project
|
|
Licensed under the MPL 2.0 and EPL 1.0
|
|
|
|
================================================================================
|
|
Notes
|
|
================================================================================
|
|
|
|
- This project is a lightweight JDBC wrapper designed for legacy projects
|
|
without ORM frameworks.
|
|
- For learning and reference purposes only.
|