Skip to content

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

@mp911de

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.

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