HHH-16633 improve jdoc for query methods

This commit is contained in:
Gavin King 2023-07-14 14:37:04 +02:00
parent ded5451436
commit ec830945e6
1 changed files with 5 additions and 0 deletions

View File

@ -239,6 +239,11 @@ public class QueryMethod extends AbstractQueryMethod {
private void comment(StringBuilder declaration) { private void comment(StringBuilder declaration) {
declaration declaration
.append("\n/**"); .append("\n/**");
declaration
.append("\n * Execute the query {@value #")
.append(getConstantName())
.append("}.")
.append("\n *");
see( declaration ); see( declaration );
declaration declaration
.append("\n **/\n"); .append("\n **/\n");