whitespace fix

Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
Gavin King 2024-10-23 17:14:44 +02:00
parent 7f3c73b438
commit 5bd244dd20
2 changed files with 4 additions and 4 deletions

View File

@ -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] [source,java]
---- ----
@CheckHQL // validate named queries at compile time @CheckHQL // validate named queries at compile time
@NamedQuery(name="findBooksByTitle", @NamedQuery(name = "findBooksByTitle",
query="from Book where title like :title order by title") query = "from Book where title like :title order by title")
class Queries { class Queries {
static List<Book> findBooksByTitleWithPagination(Session session, static List<Book> findBooksByTitleWithPagination(Session session,

View File

@ -123,8 +123,8 @@ For example, if we had:
[source,java] [source,java]
---- ----
@CheckHQL // validate named queries at compile time @CheckHQL // validate named queries at compile time
@NamedQuery(name="findBooksByTitle", @NamedQuery(name = "findBooksByTitle",
query="from Book where title like :title order by title") query = "from Book where title like :title order by title")
@Entity @Entity
class Book { ... } class Book { ... }
---- ----