v5.3.0 (2023-03-27)
<dependency>
<groupId>net.hasor</groupId>
<artifactId>dbvisitor</artifactId>
<version>5.3.0</version>
</dependency>
Added
- Page interface adds methods to set total count, whether to return total count, etc.
- Table description for auto DDL support:
@TableDescription,@ColumnDescription, and DTD/XSD attributes. FakerMonitoraddsignoreCountermetric.resultTypesupports Map subclasses.JsonTypeHandlerfor JSON handling.PostgreSqlDialectsupportsInsertSqlDialect.
Improved
- Page queries skip totalCount query when totalCount > 0 unless
refreshTotalCountis explicitly called. MySqlDialecttableNamegeneration: catalog/schema can define DB name; catalog has higher priority.JdbcTemplateerror logging respectsprintStmtError.- Lambda logging wraps anonymous classes with
PreparedStatementCreatorWrapand providesSqlProviderto print SQL. - BaseMapper method names reference MyBatisPlus to ease migration.
- TypeHandler creation supports constructors with a
Typeparameter. InsertSqlDialectmethod names shortened.
Fixed
- NPE in
TableDef. - Faker generating SQL SERVER
DATETIMEOFFSETwhiledateTypeset to String. MySqlDialectupsert syntax.oracle-widely.tpcsafeMaxLengthswapped max/default.InsertExecute.executeSumResultcounts-2as a valid batch result.