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)