[hibernate/hibernate-orm] a857c3: HHH-20720 Copy @InterceptorBinding annotations for...
by Stéphane Épardaud
Branch: refs/heads/8.0
Home: https://github.com/hibernate/hibernate-orm
Commit: a857c30728e42dd2c21e93067da8fe5d72dbd28d
https://github.com/hibernate/hibernate-orm/commit/a857c30728e42dd2c21e930...
Author: Stéphane Épardaud <stef(a)epardaud.fr>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractAnnotatedMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
HHH-20720 Copy @InterceptorBinding annotations for all repository types, not just @Repository
Previously, inheritedAnnotations() only copied annotations with
@InterceptorBinding (such as @Transactional) to the generated
implementation class when the interface was annotated with Jakarta
Data's @Repository. Quarkus Data repositories without @Repository
were excluded, so @Transactional on their methods was silently lost.
Widen the check from isJakartaDataRepository()/jakartaDataRepository
to isRepository()/repository so that all processor-generated
repository implementations inherit interceptor binding annotations.
Co-Authored-By: Claude Opus 4.6 <noreply(a)anthropic.com>
(cherry picked from commit ce54b85e3bbe2800ca64ac783e32f6df8365c56f)
Commit: e6da77ff1f8127f5a04c607bf66371c99e07791d
https://github.com/hibernate/hibernate-orm/commit/e6da77ff1f8127f5a04c607...
Author: Stéphane Épardaud <stef(a)epardaud.fr>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/ClassWriter.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/Context.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java
Log Message:
-----------
HHH-20720 Guard inheritedAnnotations() on CDI availability and rename addDependentAnnotation to isCdiAvailable
The inheritedAnnotations() methods that copy @InterceptorBinding
annotations (such as @Transactional) to generated repository
implementations now also check that CDI is on the build path
(jakarta.enterprise.context is present). Without this guard, the
annotation processor would attempt to copy interceptor bindings even
when CDI is unavailable, which is pointless.
Rename Context.addDependentAnnotation()/setAddDependentAnnotation() to
isCdiAvailable()/setCdiAvailable() to better express the intent of the
flag across all its call sites.
Co-Authored-By: Claude Opus 4.6 <noreply(a)anthropic.com>
(cherry picked from commit 0b5fc4b43445e6ea365001359801470355032fe9)
Compare: https://github.com/hibernate/hibernate-orm/compare/d813f3185f27...e6da77f...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
23 hours, 11 minutes
[hibernate/hibernate-orm] 88ff40: HHH-20720 Copy @InterceptorBinding annotations for...
by Stéphane Épardaud
Branch: refs/heads/7.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 88ff40a16c16a6423937d4c9cb32fba94e8f2a00
https://github.com/hibernate/hibernate-orm/commit/88ff40a16c16a6423937d4c...
Author: Stéphane Épardaud <stef(a)epardaud.fr>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractAnnotatedMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
HHH-20720 Copy @InterceptorBinding annotations for all repository types, not just @Repository
Previously, inheritedAnnotations() only copied annotations with
@InterceptorBinding (such as @Transactional) to the generated
implementation class when the interface was annotated with Jakarta
Data's @Repository. Quarkus Data repositories without @Repository
were excluded, so @Transactional on their methods was silently lost.
Widen the check from isJakartaDataRepository()/jakartaDataRepository
to isRepository()/repository so that all processor-generated
repository implementations inherit interceptor binding annotations.
Co-Authored-By: Claude Opus 4.6 <noreply(a)anthropic.com>
(cherry picked from commit ce54b85e3bbe2800ca64ac783e32f6df8365c56f)
Commit: ae2a193c8274274baa0ad7b804022b952d6403bf
https://github.com/hibernate/hibernate-orm/commit/ae2a193c8274274baa0ad7b...
Author: Stéphane Épardaud <stef(a)epardaud.fr>
Date: 2026-08-28 (Fri, 28 Aug 2026)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/ClassWriter.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/Context.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractAnnotatedMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/LifecycleMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java
Log Message:
-----------
HHH-20720 Guard inheritedAnnotations() on CDI availability and rename addDependentAnnotation to isCdiAvailable
The inheritedAnnotations() methods that copy @InterceptorBinding
annotations (such as @Transactional) to generated repository
implementations now also check that CDI is on the build path
(jakarta.enterprise.context is present). Without this guard, the
annotation processor would attempt to copy interceptor bindings even
when CDI is unavailable, which is pointless.
Rename Context.addDependentAnnotation()/setAddDependentAnnotation() to
isCdiAvailable()/setCdiAvailable() to better express the intent of the
flag across all its call sites.
Co-Authored-By: Claude Opus 4.6 <noreply(a)anthropic.com>
(cherry picked from commit 0b5fc4b43445e6ea365001359801470355032fe9)
Compare: https://github.com/hibernate/hibernate-orm/compare/e68da2dd2e2b...ae2a193...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
23 hours, 11 minutes
[hibernate/hibernate-validator] 5bcd85: HV-2246 Adding @IBAN Constraint
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-validator
Commit: 5bcd8514ebb49351555861b270f17da25bbb1d80
https://github.com/hibernate/hibernate-validator/commit/5bcd8514ebb493515...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M annotation-processor/src/main/java/org/hibernate/validator/ap/internal/util/ConstraintHelper.java
M annotation-processor/src/main/java/org/hibernate/validator/ap/internal/util/TypeNames.java
M documentation/src/main/asciidoc/reference/_ch02.adoc
A engine/src/main/java/org/hibernate/validator/cfg/defs/IBANDef.java
A engine/src/main/java/org/hibernate/validator/constraints/IBAN.java
A engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/IBANValidator.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/BuiltinConstraint.java
M engine/src/main/java/org/hibernate/validator/internal/metadata/core/ConstraintHelper.java
M engine/src/main/resources/org/hibernate/validator/ValidationMessages.properties
A engine/src/test/java/org/hibernate/validator/test/constraints/annotations/hv/IBANConstrainedTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/MessagePropertiesTest.java
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/PredefinedScopeAllConstraintsTest.java
A engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/hv/IBANValidatorTest.java
Log Message:
-----------
HV-2246 Adding @IBAN Constraint
Commit: a5cc7ccb315f8eace416ad10f74ddfa047cd0745
https://github.com/hibernate/hibernate-validator/commit/a5cc7ccb315f8eace...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M engine/src/main/java/org/hibernate/validator/cfg/defs/IBANDef.java
M engine/src/main/java/org/hibernate/validator/constraints/IBAN.java
M engine/src/main/java/org/hibernate/validator/internal/constraintvalidators/hv/IBANValidator.java
Log Message:
-----------
HV-2246 Add allowLowercase attribute to @IBAN
Commit: 22752fd96f1e88b2d47190b930a822248a115a5f
https://github.com/hibernate/hibernate-validator/commit/22752fd96f1e88b2d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2026-08-27 (Thu, 27 Aug 2026)
Changed paths:
M engine/src/test/java/org/hibernate/validator/test/internal/constraintvalidators/hv/IBANValidatorTest.java
Log Message:
-----------
HV-2246 Add tests for allowLowercase @IBAN attribute
Compare: https://github.com/hibernate/hibernate-validator/compare/5cd76e2b7126...2...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-validator/settings/notifications
1 day, 13 hours