diff --git a/documentation/src/main/asciidoc/introduction/Introduction.adoc b/documentation/src/main/asciidoc/introduction/Introduction.adoc index 9efb683a5283..e511794d0b23 100644 --- a/documentation/src/main/asciidoc/introduction/Introduction.adoc +++ b/documentation/src/main/asciidoc/introduction/Introduction.adoc @@ -518,8 +518,8 @@ We need a place to put the annotation, so let's move our query method to a new c [source,java] ---- @CheckHQL // validate named queries at compile time -@NamedQuery(name="findBooksByTitle", - query="from Book where title like :title order by title") +@NamedQuery(name = "findBooksByTitle", + query = "from Book where title like :title order by title") class Queries { static List findBooksByTitleWithPagination(Session session, diff --git a/documentation/src/main/asciidoc/introduction/Processor.adoc b/documentation/src/main/asciidoc/introduction/Processor.adoc index 483f8724acee..ca343468510c 100644 --- a/documentation/src/main/asciidoc/introduction/Processor.adoc +++ b/documentation/src/main/asciidoc/introduction/Processor.adoc @@ -123,8 +123,8 @@ For example, if we had: [source,java] ---- @CheckHQL // validate named queries at compile time -@NamedQuery(name="findBooksByTitle", - query="from Book where title like :title order by title") +@NamedQuery(name = "findBooksByTitle", + query = "from Book where title like :title order by title") @Entity class Book { ... } ----