diff --git a/src/docbkx/reference/jpa.xml b/src/docbkx/reference/jpa.xml
index e57e547b7..a8720dc8e 100644
--- a/src/docbkx/reference/jpa.xml
+++ b/src/docbkx/reference/jpa.xml
@@ -498,7 +498,8 @@ public class User {
in orm.xml.
- Declare query at the query method using @Query
+ Declare query at the query method using
+ @Query
public interface UserRepository extends JpaRepository<User, Long> {
@@ -516,6 +517,17 @@ public class User {
dynamic sorting for native queries as we'd have to manipulate the
actual query declared and we cannot do this reliably for native
SQL.
+
+
+ Declare a native query at the query method using
+ @Query
+
+ public interface UserRepository extends JpaRepository<User, Long> {
+
+ @Query(value = "SELECT FROM USERS WHERE EMAIL_ADDRESS = ?0", nativeQuery = true)
+ User findByEmailAddress(String emailAddress);
+}
+