[hibernate/hibernate-orm] b66bc9: HHH-15466 Compatibility with Jandex 3.0.0
by Ladislav Thon
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: b66bc976aca6ccfed27a7388037b72470361fd1f
https://github.com/hibernate/hibernate-orm/commit/b66bc976aca6ccfed27a738...
Author: Ladislav Thon <lthon(a)redhat.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/archive/scan/spi/ClassFileArchiveEntryHandler.java
M local-build-plugins/src/main/java/org/hibernate/orm/post/IndexManager.java
Log Message:
-----------
HHH-15466 Compatibility with Jandex 3.0.0
The only change in Jandex 3.0.0 relevant to Hibernate ORM is that
`Indexer.index()` used to return `ClassInfo`, but now returns `void`.
This is a breaking change, but Jandex 3.0.0 has a synthetic bridge
method with the old signature for binary compatibility -- except
it always return `null`. Therefore, with this commit, Hibernate ORM
simply ignores the return value completely, which makes it compatible
with Jandex 3.0.0 at runtime, even though it is still compiled against
Jandex 2.4. The code is also source-compatible with Jandex 3.0.0 if
that is ever needed.
2 years, 4 months
[hibernate/hibernate-orm] 52f39f: HHH-15466 Compatibility with Jandex 3.0.0
by Ladislav Thon
Branch: refs/heads/5.6
Home: https://github.com/hibernate/hibernate-orm
Commit: 52f39f8ba0b3a4c455aba3c1ff6d958908603f62
https://github.com/hibernate/hibernate-orm/commit/52f39f8ba0b3a4c455aba3c...
Author: Ladislav Thon <lthon(a)redhat.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/archive/scan/spi/ClassFileArchiveEntryHandler.java
Log Message:
-----------
HHH-15466 Compatibility with Jandex 3.0.0
The only change in Jandex 3.0.0 relevant to Hibernate ORM is that
`Indexer.index()` used to return `ClassInfo`, but now returns `void`.
This is a breaking change, but Jandex 3.0.0 has a synthetic bridge
method with the old signature for binary compatibility -- except
it always return `null`. Therefore, with this commit, Hibernate ORM
simply ignores the return value completely, which makes it compatible
with Jandex 3.0.0 at runtime, even though it is still compiled against
Jandex 2.4. The code is also source-compatible with Jandex 3.0.0 if
that is ever needed.
2 years, 4 months
[hibernate/hibernate-orm] 75240b: HHH-15072 Add out of the box support for records a...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 75240b0cd36a3ffca390e82cde29ff1f84cf3c0e
https://github.com/hibernate/hibernate-orm/commit/75240b0cd36a3ffca390e82...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AccessType.java
M hibernate-core/src/main/java/org/hibernate/cfg/InheritanceState.java
M hibernate-core/src/main/java/org/hibernate/cfg/PropertyContainer.java
M hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorRecordIndirecting.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorRecordStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/ManagedTypeRepresentationResolverStandard.java
M settings.gradle
Log Message:
-----------
HHH-15072 Add out of the box support for records as embeddables
Commit: 9f5f31ec9713e3f5961cc2d1b3d0b23f89088c25
https://github.com/hibernate/hibernate-orm/commit/9f5f31ec9713e3f5961cc2d...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M hibernate-core/hibernate-core.gradle
A hibernate-core/src/test/java17/org/hibernate/orm/test/records/OutOfTheBoxRecordAsEmbeddableTest.java
M settings.gradle
Log Message:
-----------
HHH-15072 Add test for out of the box support for records as embeddables
Commit: d2cca544c21cf0e1074c7e1f085ae186aa20ae21
https://github.com/hibernate/hibernate-orm/commit/d2cca544c21cf0e1074c7e1...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/InlineDirtyCheckingHandler.java
A hibernate-core/src/test/java17/org/hibernate/orm/test/records/RecordAsEmbeddableEnhancementTest.java
Log Message:
-----------
HHH-15072 Don't enhance records and skip owner tracking for embeddable record fields
Compare: https://github.com/hibernate/hibernate-orm/compare/83d4105defa2...d2cca54...
2 years, 4 months