From 3ec1add300051dfea6111fc677af2e406616379f Mon Sep 17 00:00:00 2001 From: humberto Date: Fri, 20 Oct 2023 12:53:31 +0200 Subject: [PATCH] #36581 Update comments --- .../quarkus/hibernate/orm/panache/common/ProjectedClass.java | 5 ++--- .../hibernate/reactive/panache/common/ProjectedClass.java | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/ProjectedClass.java b/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/ProjectedClass.java index fbe3a20a440b4..3eb03b19caed9 100644 --- a/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/ProjectedClass.java +++ b/extensions/panache/hibernate-orm-panache-common/runtime/src/main/java/io/quarkus/hibernate/orm/panache/common/ProjectedClass.java @@ -6,9 +6,8 @@ import java.lang.annotation.Target; /** - * Define a field's path for the SELECT statement when using a projection DTO. - * It supports the "dot" notation for fields in referenced entities: - * the name is composed of the property name for the relationship, followed by a dot ("."), followed by the name of the field. + * Define a Class that is used for query projection, + * Identify nested object type that is projected. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) diff --git a/extensions/panache/hibernate-reactive-panache-common/runtime/src/main/java/io/quarkus/hibernate/reactive/panache/common/ProjectedClass.java b/extensions/panache/hibernate-reactive-panache-common/runtime/src/main/java/io/quarkus/hibernate/reactive/panache/common/ProjectedClass.java index 56f1ebe641979..7371ea7e1bd49 100644 --- a/extensions/panache/hibernate-reactive-panache-common/runtime/src/main/java/io/quarkus/hibernate/reactive/panache/common/ProjectedClass.java +++ b/extensions/panache/hibernate-reactive-panache-common/runtime/src/main/java/io/quarkus/hibernate/reactive/panache/common/ProjectedClass.java @@ -6,9 +6,8 @@ import java.lang.annotation.Target; /** - * Define a field's path for the SELECT statement when using a projection DTO. - * It supports the "dot" notation for fields in referenced entities: - * the name is composed of the property name for the relationship, followed by a dot ("."), followed by the name of the field. + * Define a Class that is used for query projection, + * Identify nested object type that is projected. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE)