[hibernate/hibernate-orm] a7fae9: HHH-18314 NCHAR,NVARCHAR,NCLOB on Db2
by Gavin King
Branch: refs/heads/wip/7.0
Home: https://github.com/hibernate/hibernate-orm
Commit: a7fae9f5e5f46713e7b6ad8a88555978e01f952c
https://github.com/hibernate/hibernate-orm/commit/a7fae9f5e5f46713e7b6ad8...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/…
[View More]dialect/DerbyLegacyDialect.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/type/descriptor/jdbc/DecimalJdbcType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/NationalizedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/StringNationalizedMappingTests.java
Log Message:
-----------
HHH-18314 NCHAR,NVARCHAR,NCLOB on Db2
1. Db2 driver now supports setNString() and friends
2. Hibernate SchemaValidator + SchemaMigrator now consider NUMERIC and DECIMAL equivalent
We may therefore roll back HHH-12753 and HHH-12827 respectively.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 73e549590350e85af333e31a54e2e7b3b0d935d8
https://github.com/hibernate/hibernate-orm/commit/73e549590350e85af333e31...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
Log Message:
-----------
on h2, don't use NCLOB in generated DDL
since we don't use NCHAR/NVARCHAR
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 72f3c1338c6f99da19850fded051889cd4dbe280
https://github.com/hibernate/hibernate-orm/commit/72f3c1338c6f99da19850fd...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
Log Message:
-----------
HHH-18314 don't use streams for LOB binding on Db2
Since:
- we can use the JDBC LOB APIs, and
- setNCharacterStream() is not implemented by the driver
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: d8925cacd72f793f3fb4d80ba6e779c4b572db92
https://github.com/hibernate/hibernate-orm/commit/d8925cacd72f793f3fb4d80...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
Log Message:
-----------
HHH-18316 use utf8mb4 instead of utf8 for NCHAR/NVARCHAR on MySQL
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 315eb8945898c85c3c312fd2858dbf58a20521e9
https://github.com/hibernate/hibernate-orm/commit/315eb8945898c85c3c312fd...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-07-02 (Tue, 02 Jul 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/NationalizedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/StringNationalizedMappingTests.java
Log Message:
-----------
HHH-18317 disable two tests on Sybase
I get:
Error converting characters into server's character set.
Some character(s) could not be converted.
No matter what I do (at least with the jTDS driver).
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/e2951e4a3f10...315eb89...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
[View Less]
8 months, 2 weeks