whitespace fix
Signed-off-by: Gavin King <gavin@hibernate.org>
This commit is contained in:
parent
7f3c73b438
commit
5bd244dd20
|
@ -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<Book> findBooksByTitleWithPagination(Session session,
|
||||
|
|
|
@ -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 { ... }
|
||||
----
|
||||
|
|
Loading…
Reference in New Issue