NPersistence Reference Guide
The NamedQuery type exposes the following fields.
Fields
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Hints | (Optional) Query properties and hints. May include
vendor-specific query hints.
|
![]() | LockMode |
(Optional) The lock mode type to use in query execution. If a lockMode
other than LockModeType.NONE is specified, the query must be executed in
a transaction.
|
![]() | Name |
(Required) The name used to refer to the query with the EntityManager
methods that create query objects.
|
![]() | Query | (Required)
The query string in the Java Persistence query language.
|