[hibernate/hibernate-orm] 8326a1: HHH-20600 Add test for recursive component transfo...
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 8326a106c47b46a4f45cddf94a7b18d93312cca6
https://github.com/hibernate/hibernate-orm/commit/8326a106c47b46a4f45cddf...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/HbmTransformationJaxbTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/recursivecomponent/MyComponent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/recursivecomponent/MyEntity.java
A hibernate-core/src/test/resources/xml/jaxb/mapping/recursive-component/hbm.xml
Log Message:
-----------
HHH-20600 Add test for recursive component transformation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Commit: 586d1d2a4c7157b27f0523b4a0af1904869aa403
https://github.com/hibernate/hibernate-orm/commit/586d1d2a4c7157b27f0523b...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformerComponentHandler.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/TransformationHelper.java
Log Message:
-----------
HHH-20600 Generate <transient/> for unmapped embeddable properties
Extract shared transient-discovery logic into
TransformationHelper.discoverUnmappedPropertyNames() and reuse it
from both HbmXmlTransformer (entity transients) and
HbmXmlTransformerComponentHandler (embeddable transients).
Without this, unmapped properties on embeddable classes (like a
self-referencing FooComponent.subcomponent) are not declared as
<transient/> in the generated orm.xml. While the transformer now
generates correct XML with <transient name="subcomponent"/>, the
orm.xml reader (EmbeddableBinder) still detects recursion by
scanning the Java class before processing transient declarations —
that is a separate issue.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare: https://github.com/hibernate/hibernate-orm/compare/2a78d93f8295...586d1d2...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
15 hours, 52 minutes
[hibernate/hibernate-orm] 98da39: HHH-20600 Add test for recursive component transfo...
by Andrea Boriero
Branch: refs/heads/8.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 98da39efee9bb88fc43560bbb78aa4c9f00a35f3
https://github.com/hibernate/hibernate-orm/commit/98da39efee9bb88fc43560b...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/HbmTransformationJaxbTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/recursivecomponent/MyComponent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/boot/jaxb/mapping/recursivecomponent/MyEntity.java
A hibernate-core/src/test/resources/xml/jaxb/mapping/recursive-component/hbm.xml
Log Message:
-----------
HHH-20600 Add test for recursive component transformation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Commit: 22d8ad090ac2ba4f56f5029e96d7b242db3776c6
https://github.com/hibernate/hibernate-orm/commit/22d8ad090ac2ba4f56f5029...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformer.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/HbmXmlTransformerComponentHandler.java
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/hbm/transform/TransformationHelper.java
Log Message:
-----------
HHH-20600 Generate <transient/> for unmapped embeddable properties
Extract shared transient-discovery logic into
TransformationHelper.discoverUnmappedPropertyNames() and reuse it
from both HbmXmlTransformer (entity transients) and
HbmXmlTransformerComponentHandler (embeddable transients).
Without this, unmapped properties on embeddable classes (like a
self-referencing FooComponent.subcomponent) are not declared as
<transient/> in the generated orm.xml. While the transformer now
generates correct XML with <transient name="subcomponent"/>, the
orm.xml reader (EmbeddableBinder) still detects recursion by
scanning the Java class before processing transient declarations —
that is a separate issue.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply(a)anthropic.com>
Compare: https://github.com/hibernate/hibernate-orm/compare/628e8d42b56d...22d8ad0...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
15 hours, 52 minutes
[hibernate/hibernate-orm] 628e8d: tackle @Nullable @Nonnull for SessionFactoryOption...
by Gavin King
Branch: refs/heads/8.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 628e8d42b56d3dcc803fae1cb79954f1b2b90f45
https://github.com/hibernate/hibernate-orm/commit/628e8d42b56d3dcc803fae1...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2026-06-21 (Sun, 21 Jun 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
M hibernate-core/src/main/java/org/hibernate/SharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/Transaction.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/VersionResolution.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/TransactionImpl.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventSource.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryBasedWrapperOptions.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/query/internal/NullsHelper.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryEngineOptions.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/LogicalConnection.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/AbstractLogicalConnectionImplementor.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionProvidedImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/JdbcSessionOwner.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/internal/JdbcResourceLocalTransactionCoordinatorBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/internal/JdbcResourceLocalTransactionCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/spi/JdbcResourceTransaction.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionAdapter.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionAdapterTransactionManagerImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionAdapterUserTransactionImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/TransactionCoordinator.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/TransactionCoordinatorBuilder.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/TransactionStatus.java
M hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/FullJoinEmulation.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/AbstractResultSetAccess.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/WrapperOptions.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/DelegatingJdbcTypeIndicators.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcTypeIndicators.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/test/java/org/hibernate/orm/test/EnumType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/secondarytable/SecondaryTableSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/spi/metadatabuildercontributor/AbstractSqlFunctionMetadataBuilderContributorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/spi/metadatabuildercontributor/AttributeConverterMetadataBuilderContributorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/connections/LazyLoadingConnectionCloseTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/SequenceInformationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/PostgreSQLSequenceGeneratorWithSerialTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyDefaultExceptionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyExceptionEnumTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyFixWithSequenceGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyLogTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyWithoutSequenceGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/EntityManagerTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/NamedQueryTransactionFailureTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/literal/AbstractCriteriaLiteralHandlingModeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/lock/LockTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ops/GetLoadJpaComplianceDifferentSessionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/secondarytable/AbstractNonOptionalSecondaryTableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/basic/DurationMappingTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/java/AbstractDescriptorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/nationalized/MaterializedNClobBindTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/descriptor/java/OffsetTimeJavaTypeDescriptorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/descriptor/sql/StringValueMappingTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/customtype/EnumType.java
M hibernate-testing/src/main/java/org/hibernate/testing/jta/TestingJtaTransactionCoordinatorBuilder.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/EntityManagerFactoryBasedFunctionalTest.java
M tooling/hibernate-reveng/src/test/java/org/hibernate/tool/reveng/hbm2x/Hbm2CfgTest/TestCase.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java
Log Message:
-----------
tackle @Nullable @Nonnull for SessionFactoryOptions and transaction-related SPIs
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 day, 15 hours