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.
  • JakartaQuery declares a query method and specifies the query or statement in the Jakarta Persistence query language.
  • NativeQuery declares a query method and specifies the query or statement in the native SQL dialect of the database.
  • QueryOptions specifies additional options affecting execution of the query or statement.
Since:
4.0