[hibernate/hibernate-orm] 9c4907: HHH-20015: Add a test and a fix for including mave...
by Bahaa Zaid
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 9c4907a302522bc2edc07a31856b8ce8482e025f
https://github.com/hibernate/hibernate-orm/commit/9c4907a302522bc2edc07a3...
Author: Bahaa Zaid <bahaa.zaid(a)pixelogicmedia.com>
Date: 2025-12-31 (Wed, 31 Dec 2025)
Changed paths:
M tooling/hibernate-maven-plugin/hibernate-maven-plugin.gradle
M tooling/hibernate-maven-plugin/src/intTest/java/org/hibernate/orm/tooling/maven/EnhancerMojoTestIT.java
M tooling/hibernate-maven-plugin/src/intTest/resources/Baz.jav_
M tooling/hibernate-maven-plugin/src/intTest/resources/pom.xm_
M tooling/hibernate-maven-plugin/src/main/java/org/hibernate/orm/tooling/maven/HibernateEnhancerMojo.java
M tooling/hibernate-maven-plugin/src/test/java/org/hibernate/orm/tooling/maven/HibernateEnhancerMojoTest.java
Log Message:
-----------
HHH-20015: Add a test and a fix for including maven project dependencies in enhancement classpath
The new Hibernate Maven Plugin for Hibernate 7.x caused a regression for [HHH-10145](https://hibernate.atlassian.net/browse/HHH-10145).
If the enhanced class reference any other class not included in `hibernate-core` (e.g. Spring classes, or types from other Maven submodule), the enhancement will fail with a warning that but the build process will succeed.
If the user misses the warning, the resulting classes will not be enhanced and that might cause serious issues for applications on production (e.g. loading heavy objects eagerly).
The included fix is copied from 6.x line.
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 weeks, 2 days
[hibernate/hibernate-orm] 4a3c30: HHH-20012: Fix failures with the TiDBDialect
by Daniël van Eeden
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 4a3c30355d69deee1fb69fc258583a6cfc868607
https://github.com/hibernate/hibernate-orm/commit/4a3c30355d69deee1fb69fc...
Author: Daniël van Eeden <git(a)myname.nl>
Date: 2025-12-31 (Wed, 31 Dec 2025)
Changed paths:
M docker_db.sh
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TiDBDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TiDBSqlAstTranslator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/temporal/LocalDateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/temporal/LocalTimeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/temporal/OffsetTimeTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
Log Message:
-----------
HHH-20012: Fix failures with the TiDBDialect
- Enable check constraints in the container
- Consider TiDB to be MySQL 8.0.11
- Keep using the older ON DUPLICATE KEY UPDATE syntax
- Don't use JSON_TABLE
- Don't use UNNEST emulation as it is JSON_TABLE based
- Skip some tests that we also skip for MySQLDialect
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 weeks, 2 days