Skip to main content

v4.2.5 (2021-03-31)

<dependency>
<groupId>net.hasor</groupId>
<artifactId>hasor-db</artifactId>
<version>4.2.5</version>
</dependency>

Added​

  • MySQL metadata utility that bypasses the JDBC driver to query the metadata store, avoiding driver-level risks.

Improved​

  • In JdbcTemplate, setParameterValue now delegates to TypeHandlerRegistry.
  • Made TypeHandlerRegistry.registerCross public.

Fixed​

  • TypeHandlerRegistry no longer maps CLOB/NCLOB and String to ClobReaderTypeHandler/NClobReaderTypeHandler incorrectly.
  • MySQL year type metadata returns jdbcType as DATE, but the MySQL driver cannot be read via getDate(); compatibility fixed.
  • Fixed UnknownTypeHandler NPE during initialization. https://gitee.com/zycgit/hasor-old/issues/I3A90Z