Skip to content

Commit ec83094

Browse files
committed
HHH-16633 improve jdoc for query methods
1 parent ded5451 commit ec83094

File tree

1 file changed

+5
-0
lines changed
  • tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation

1 file changed

+5
-0
lines changed

tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ private List<String> parameterTypes() {
239239
private void comment(StringBuilder declaration) {
240240
declaration
241241
.append("\n/**");
242+
declaration
243+
.append("\n * Execute the query {@value #")
244+
.append(getConstantName())
245+
.append("}.")
246+
.append("\n *");
242247
see( declaration );
243248
declaration
244249
.append("\n **/\n");

0 commit comments

Comments
 (0)