From 1a2c1a67a500a4a8d60fc990f451a33f945675f9 Mon Sep 17 00:00:00 2001 From: Gavin King Date: Sat, 23 Mar 2024 21:18:12 +0100 Subject: [PATCH] move Quarkus Repositories to normal scope --- .../hibernate/processor/annotation/AnnotationMetaEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java index 02c71f732a..d77e9223c1 100644 --- a/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java +++ b/tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java @@ -316,7 +316,7 @@ public class AnnotationMetaEntity extends AnnotationMeta { @Override public String scope() { - if (jakartaDataRepository && !quarkusInjection) { + if (jakartaDataRepository) { return context.addTransactionScopedAnnotation() ? "javax.transaction.TransactionScoped" : "jakarta.enterprise.context.RequestScoped";