Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Genesys Backend
Genesys Backend
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #296

Closed
Open
Opened Aug 04, 2018 by Matija Obreza@mobrezaOwner

Replace all @Query with DSL

The "text" mode @Query syntax in JPA repositories is impossible to maintain as the data models are updated and changed.

Migrate all cases where @Query is used to QueryDSL. Use the following approach:

  1. If the query is used from a single service method, implement the query in the service method
  2. If the query is used from multiple service methods, implement the query in a ...CustomImpl and extend the repository with a ...Custom interface
Assignee
Assign to
2.5
Milestone
2.5
Assign milestone
Time tracking
None
Due date
None
Reference: genesys-pgr/genesys-server#296