diff --git a/documentation/src/main/java/org/hibernate/userguide/model/Person.java b/documentation/src/main/java/org/hibernate/userguide/model/Person.java index e56d5ae9ba..16c8b4a040 100644 --- a/documentation/src/main/java/org/hibernate/userguide/model/Person.java +++ b/documentation/src/main/java/org/hibernate/userguide/model/Person.java @@ -96,8 +96,8 @@ import javax.persistence.Version; " pr.version AS \"pr.version\", " + " ph.id AS \"ph.id\", " + " ph.person_id AS \"ph.person_id\", " + - " ph.phone_number AS \"ph.phone_number\", " + - " ph.type AS \"ph.type\" " + + " ph.phone_number AS \"ph.number\", " + + " ph.phone_type AS \"ph.type\" " + "FROM person pr " + "JOIN phone ph ON pr.id = ph.person_id " + "WHERE pr.name LIKE :name",