v5.4.4 (2024-09-14)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>dbvisitor</artifactId>
<version>5.4.4</version>
</dependency>
Breaking changes
- Removed six internal low-level APIs from
JdbcOperations; alternatives exist or usage is limited:executeCreator(PreparedStatementCreator, PreparedStatementCallback<T>)executeCall(CallableStatementCreator, ResultSetExtractor<T>)executeCall(CallableStatementCreator, RowCallbackHandler)executeCall(CallableStatementCreator, RowMapper<T>)executeCallback(String, PreparedStatementCallback)executeCallback(String, CallableStatementCallback)
JdbcTemplate.boolean execute(String)now returnsvoid; sinceStatement.execute(String)results aren’t handled in this path, the return value was not useful.
Added
- Mapper can return lists of primitive types.
lambdaQuerycan usequeryForListwith a target type to return different result wrappers.lambdaQuerysupportsqueryForListreturning primitive lists.
Improved
- Cache
LambdaTemplatecreation early inBaseMapperHandlerto reduce instantiation. MappingRegistry.loadMapperauto-detects and filters duplicate resources to avoid noisy errors.- Reduce small object creation when using
InsertLambda.
Fixed
DalSession.createMappernow loads resources annotated with@RefMappercorrectly.