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 5757ae2186..c8edc448fe 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 @@ -322,7 +322,7 @@ public class AnnotationMetaEntity extends AnnotationMeta { public String scope() { if (jakartaDataRepository) { return context.addTransactionScopedAnnotation() - ? "javax.transaction.TransactionScoped" + ? "jakarta.transaction.TransactionScoped" : "jakarta.enterprise.context.RequestScoped"; } else {