v6.3.1 (2025-12-13)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>dbvisitor</artifactId>
<version>6.3.1</version>
</dependency>
<dependency>
<groupId>net.hasor</groupId>
<artifactId>jdbc-mongo</artifactId>
<version>6.3.1</version>
</dependency>
Impact
- dbvisitor-driver JDBC driver and GeneratedKeys features
- jdbc-mongo driver and MongoDialect
- TypeHandlerRegistry, Offset* types, and BSON type handlers
- Map conversion in LambdaTemplate freedom mode
Changes
- Added
jdbc-mongoanddbvisitor-driversupportStatement.RETURN_GENERATED_KEYS; Mongo_idcan be auto-filled after insert and read via standard JDBC generatedKeys.jdbc-mongosupports/*+hint*/plus optionsoverride_find_limit,override_find_skip,override_find_as_countto provide non-intrusive pagination hints for Mongo queries.TypeHandlerRegistrygains aResolvableTypeconstruction path and newBsonTypeHandler/BsonListTypeHandlerfor mapping complex nested MongoDB structures.
- Improved
- Refined handling of
OffsetTime/OffsetDateTime, uniformly supporting Timestamp, Instant, string, etc., making Offset reads/writes more reliable across databases. JdbcDriveraligns with standard JDBC behavior: supportsuserproperty and returnsnullon non-dbvisitor URLs for smoother coexistence with other drivers.
- Refined handling of
- Fixed
- Pagination issues in MongoDB when using LambdaTemplate and Mapper interfaces.
MapMappingResultSetExtractorfailing to convert toMapin LambdaTemplate freedom mode when no mapping is configured.- Mongo command builder losing parameter values in
valueTermscenarios and@Columnparsing failures whenjdbcTypeis negative.