[hibernate/hibernate-orm] d813f3: HHH-17990 - Create a helper class SPI for decorati...
by Jan Schatteman
Branch: refs/heads/8.0
Home: https://github.com/hibernate/hibernate-orm
Commit: d813f3185f279cc9ba8eb8dafd5a4e33843f10de
https://github.com/hibernate/hibernate-orm/commit/d813f3185f279cc9ba8eb8d...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionLazyDelegator.java
A hibernate-core/src/main/java/org/hibernate/engine/spi/StatelessSessionLazyDelegator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/engine/spi/NoMissingOverridesInSessionLazyDelegatorTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/engine/spi/NoMissingOverridesInStatelessSessionLazyDelegatorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/dynamic/SimpleQuerySpecificationTests.java
M migration-guide.adoc
Log Message:
-----------
HHH-17990 - Create a helper class SPI for decorating a StatelessSession instance when the instance is lazily provided
Also added a test to ensure that we at least get notified if methods get added to StatelessSession without being overridden in the StatelessSessionLazyDelegator
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
HHH-17990 More realistic smoke test for StatlessSessionLazyDelegator
HHH-17990 - Refactor SessionLazyDelegator to align its initialization with StatelessSessionLazyDelegator
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
2 days, 1 hour
[hibernate/hibernate-orm] 0cccc0: HHH-20812 Add test for issue
by Andrea Boriero
Branch: refs/heads/8.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 0cccc05c1dc3f1df8eaeed2480e3ef065070dc35
https://github.com/hibernate/hibernate-orm/commit/0cccc05c1dc3f1df8eaeed2...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/loaders/CollectionCustomSelectXmlTest.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/loaders/collection-custom-select.xml
Log Message:
-----------
HHH-20812 Add test for issue
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Commit: effe15fde2102a5c35545d6d21ea91a5e6e0d73b
https://github.com/hibernate/hibernate-orm/commit/effe15fde2102a5c35545d6...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/mapping/spi/JaxbPluralAttribute.java
M hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlAnnotationHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/attr/CommonPluralAttributeProcessing.java
M hibernate-core/src/main/resources/org/hibernate/xsd/mapping/mapping-8.0.xsd
Log Message:
-----------
HHH-20812 Support <sql-select>/<hql-select> for collections in mapping.xml
Add a sql-select/hql-select choice to the collection-structure-group in
mapping-8.0.xsd and bind it to the @SQLSelect / @HQLSelect annotations.
The result-set-mapping and synchronize children of sql-select are now
optional so that a bare collection loader can be expressed without them.
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Commit: d08b6b88bbe3468edec314de3d3283dcbc15fdaf
https://github.com/hibernate/hibernate-orm/commit/d08b6b88bbe3468edec314d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/loaders/EntityCustomSelectXmlTest.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/loaders/entity-custom-select.xml
Log Message:
-----------
HHH-20813 Add test for issue
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Commit: 7e87e883e41637be2db7ff221e679b1e7a3fb6fe
https://github.com/hibernate/hibernate-orm/commit/7e87e883e41637be2db7ff2...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/ManagedTypeProcessor.java
Log Message:
-----------
HHH-20813 Support <sql-select>/<hql-select> for entities in mapping.xml
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Compare: https://github.com/hibernate/hibernate-orm/compare/eee4c359d394...7e87e88...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
2 days, 2 hours
[hibernate/hibernate-orm] 003cac: HHH-20812 Add test for issue
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 003cac054835219a2f2a9febae37634538b1723a
https://github.com/hibernate/hibernate-orm/commit/003cac054835219a2f2a9fe...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/loaders/CollectionCustomSelectXmlTest.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/loaders/collection-custom-select.xml
Log Message:
-----------
HHH-20812 Add test for issue
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Commit: bafde0fc64eb4f2f9040e6596857171b9d9801a1
https://github.com/hibernate/hibernate-orm/commit/bafde0fc64eb4f2f9040e65...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/jaxb/mapping/spi/JaxbPluralAttribute.java
M hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlAnnotationHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/attr/CommonPluralAttributeProcessing.java
M hibernate-core/src/main/resources/org/hibernate/xsd/mapping/mapping-8.0.xsd
Log Message:
-----------
HHH-20812 Support <sql-select>/<hql-select> for collections in mapping.xml
Add a sql-select/hql-select choice to the collection-structure-group in
mapping-8.0.xsd and bind it to the @SQLSelect / @HQLSelect annotations.
The result-set-mapping and synchronize children of sql-select are now
optional so that a bare collection loader can be expressed without them.
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Commit: d466f1438b0adbaa1af37e155522fa07368d9975
https://github.com/hibernate/hibernate-orm/commit/d466f1438b0adbaa1af37e1...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/loaders/EntityCustomSelectXmlTest.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/loaders/entity-custom-select.xml
Log Message:
-----------
HHH-20813 Add test for issue
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Commit: e42e2d5c44f39f2154b527d195f3b28773b387b9
https://github.com/hibernate/hibernate-orm/commit/e42e2d5c44f39f2154b527d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/ManagedTypeProcessor.java
Log Message:
-----------
HHH-20813 Support <sql-select>/<hql-select> for entities in mapping.xml
Co-Authored-By: Claude Opus 4.8 <noreply(a)anthropic.com>
Compare: https://github.com/hibernate/hibernate-orm/compare/264eb10435f0...e42e2d5...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
2 days, 2 hours