From 7657d33e5d0b13c714f8a7c70c9ce923ce65e620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20=C3=89pardaud?= Date: Wed, 17 Jan 2024 17:34:05 +0100 Subject: [PATCH] PanacheHibernateCommonResourceProcessor: forgot to register `@WithTransaction` interceptor --- .../common/deployment/PanacheJpaCommonResourceProcessor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/panache/hibernate-reactive-panache-common/deployment/src/main/java/io/quarkus/hibernate/reactive/panache/common/deployment/PanacheJpaCommonResourceProcessor.java b/extensions/panache/hibernate-reactive-panache-common/deployment/src/main/java/io/quarkus/hibernate/reactive/panache/common/deployment/PanacheJpaCommonResourceProcessor.java index c98dea9249c476..307a82c770060b 100644 --- a/extensions/panache/hibernate-reactive-panache-common/deployment/src/main/java/io/quarkus/hibernate/reactive/panache/common/deployment/PanacheJpaCommonResourceProcessor.java +++ b/extensions/panache/hibernate-reactive-panache-common/deployment/src/main/java/io/quarkus/hibernate/reactive/panache/common/deployment/PanacheJpaCommonResourceProcessor.java @@ -49,6 +49,7 @@ import io.quarkus.hibernate.reactive.panache.common.runtime.TestReactiveTransactionalInterceptor; import io.quarkus.hibernate.reactive.panache.common.runtime.WithSessionInterceptor; import io.quarkus.hibernate.reactive.panache.common.runtime.WithSessionOnDemandInterceptor; +import io.quarkus.hibernate.reactive.panache.common.runtime.WithTransactionInterceptor; @BuildSteps(onlyIf = HibernateOrmEnabled.class) public final class PanacheJpaCommonResourceProcessor { @@ -81,6 +82,7 @@ void registerInterceptors(BuildProducer additionalBeans builder.addBeanClass(WithSessionOnDemandInterceptor.class); builder.addBeanClass(WithSessionInterceptor.class); builder.addBeanClass(ReactiveTransactionalInterceptor.class); + builder.addBeanClass(WithTransactionInterceptor.class); additionalBeans.produce(builder.build()); }