Announcement Announcement Module
No announcement yet.
Intercepting @Query execution Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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, 01:28 PM. Reason: amended text