Package jakarta.persistence.query
package jakarta.persistence.query
Defines annotations for expressing statically type safe queries by
annotating query methods of a
discoverable type
or Jakarta Data repository.
JakartaQuerydeclares a query method and specifies the query or statement in the Jakarta Persistence query language.NativeQuerydeclares a query method and specifies the query or statement in the native SQL dialect of the database.QueryOptionsspecifies additional options affecting execution of the query or statement.
- Since:
- 4.0
-
ClassDescriptionSpecifies a query expressed in the Jakarta Persistence Query Language.Specifies a query expressed in the native SQL dialect of the database.Configures options that affect the execution of a query.A reference to a statement declared using a
JakartaQueryorNativeQueryannotation.A reference to a query declared using aJakartaQueryorNativeQueryannotation.