Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: ce54b85e3bbe2800ca64ac783e32f6df8365c56f
https://github.com/hibernate/hibernate-orm/commit/ce54b85e3bbe2800ca64ac7...
Author: Stéphane Épardaud <stef(a)epardaud.fr>
Date: 2026-08-24 (Mon, 24 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>
Commit: 0b5fc4b43445e6ea365001359801470355032fe9
https://github.com/hibernate/hibernate-orm/commit/0b5fc4b43445e6ea3650013...
Author: Stéphane Épardaud <stef(a)epardaud.fr>
Date: 2026-08-24 (Mon, 24 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>
Compare:
https://github.com/hibernate/hibernate-orm/compare/fad1729dce01...0b5fc4b...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications