Announcement Announcement Module
Collapse
No announcement yet.
Intercepting @Query execution Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Intercepting @Query execution

    I am using Spring Data JPA. I have a requirement to intercept all @Query s written just before execution. For example i want to amend query by adding a default where condition to all my queries/updates.

    I was able to get Query Creation Listener but in my usecase i want to get callback before execution.

    Appreciate any solution.
    Last edited by rajeshrv; Mar 25th, 2013, 02:28 PM. Reason: amended text
Working...
X