Skip to content

Add support for @Static[Native]Query(…), @ReadQueryOptions and @WriteQueryOptions #4141

Open

Description

@mp911de

JPA 4.0 introduces new annotations to declare queries and query options on the method level, mostly to cater for Jakarta Data repositories. It would make sense to support these as alternatives to @Query/@NativeQuery and @QueryHint.

RepositoryInformationSupport.isQueryAnnotationPresentOn() requires special consideration as @StaticQuery is not a Spring-managed annotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions