From 3fcb98d5cee0c0d30ac246040ddcb94a91fa3ee3 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 fbe3a20a440b42..3eb03b19caed9e 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 56f1ebe641979e..7371ea7e1bd491 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)