v6.0.0 (2025-04-05)
Heads-up
Treat this as a brand-new dbVisitor.
v6.0.0 is a major breaking release. Starting in v6.0, all APIs follow unified mechanisms for rules, parameters, result handling, type handling, and object mapping.
<dependency>
<groupId>net.hasor</groupId>
<artifactId>dbvisitor</artifactId>
<version>6.0.0</version>
</dependency>
Breaking changes
- In 5.0, LambdaTemplate was renamed to WrapperAdapter; functionality mostly aligned, minor differences not enumerated.
- 5.0 transaction manager is carried forward.
- 5.0
DalSessionrenamed toSessionwith major internal changes. - 5.0
TableReaderinterface removed. - 5.0 primary-key generators
GeneratedKeyHandlerandKeyHolderare merged into one mechanism. @Query,@Insert, etc. drop thexmlattribute; dynamic Command now uses rules or explicit Mapper Files.- Multi-value handling strategy from 5.0 is removed in 6.0.
JdbcOperationschanged significantly and may be incompatible with 5.0.LambdaOperationsin 6.0 adds tighter support for Map structures.- dbVisitor no longer auto-detects dialects; specify via Options.
- Named-param syntax
groupId in (:groupIds)is removed;@{and, groupId in (:groupIds)}rule is invalid—use the IN rule instead. MappingRegistry.loadMapper(InputStream)/loadMapper(URL)removed; useloadMapper(String)orloadMapper(String, boolean).
Docs
- 5.0 docs are no longer hosted; build them from source under tag v5.4.4 in
dbvisitor-docif needed.