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)