quotes not needed for enum values in doc example
This commit is contained in:
parent
e1d1d21a30
commit
31a795b8c7
|
@ -1931,7 +1931,7 @@ public class HQLTest extends BaseEntityManagerFunctionalTestCase {
|
|||
List<Person> persons = entityManager.createQuery(
|
||||
"select p " +
|
||||
"from Person p " +
|
||||
"where p.phones[0].type = 'LAND_LINE'",
|
||||
"where p.phones[0].type = LAND_LINE",
|
||||
Person.class)
|
||||
.getResultList();
|
||||
//end::hql-collection-index-operator-example[]
|
||||
|
|
Loading…
Reference in New Issue