Skip to content

Commit

Permalink
PanacheHibernateCommonResourceProcessor: forgot to register `@WithTra…
Browse files Browse the repository at this point in the history
…nsaction` interceptor
  • Loading branch information
FroMage committed Jan 18, 2024
1 parent 11dd60c commit 20465d8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -81,6 +82,7 @@ void registerInterceptors(BuildProducer<AdditionalBeanBuildItem> additionalBeans
builder.addBeanClass(WithSessionOnDemandInterceptor.class);
builder.addBeanClass(WithSessionInterceptor.class);
builder.addBeanClass(ReactiveTransactionalInterceptor.class);
builder.addBeanClass(WithTransactionInterceptor.class);
additionalBeans.produce(builder.build());
}

Expand Down

0 comments on commit 20465d8

Please sign in to comment.