Skip to content

Create a JPQL parser #2814

@gregturn

Description

@gregturn

Managing custom queries inside @query annotations has become unmanageable through QueryUtils. Simply put, a collection of regular expressions does not suffice. So we instead need to craft a JPQL-compliant parser that allows us to:

  • Derive count queries
  • Support sortable parameters
  • supports standard JPQL
  • possibly support HQL (Hibernate)
  • possibly support EQL (EclipseLink)

At first, it should be based upon JPA 3.1, the standard Spring Data JPA 3.1 is aligned with. If there is an agreed-upon reason to implement backwards compatibility with older versions of JPA, we can evaluate that.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions