[hibernate/hibernate-orm] 04302c: fix SqlTypes.LONG32VARXXXX types and add a test
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 04302caba036e41c37141624287ba62da4dfc7b2
https://github.com/hibernate/hibernate-orm/commit/04302caba036e41c3714162...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2022-10-01 (Sat, 01 Oct 2022)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CUBRIDDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CacheDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DerbyLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MaxDBDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MimerSQLDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseASELegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseAnywhereDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/Length.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/type/SqlTypes.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/JdbcTypeNameMapper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/BasicBinder.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcTypeFamilyInformation.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/LongVarbinaryJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/LongVarcharJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/internal/JdbcTypeBaseline.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/spi/JdbcTypeRegistry.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/spi/DdlTypeRegistry.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/lob/LongStringHolder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/length/LengthTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/length/WithLongStrings.java
A hibernate-core/src/test/java/org/hibernate/orm/test/length/WithLongTypeStrings.java
Log Message:
-----------
fix SqlTypes.LONG32VARXXXX types and add a test
also fix a bug in initialization of JdbcTypeFamilyInformation
fix incorrect mapping for "long" types on Derby
use default for nicer-looking switch statements
improve some Javadoc
2 years, 1 month