title: Run sql and plsql queries from a file whenever I call a service in SpringBoot Application
body: <p>So guys I am working on a spring boot application where whenever saves something in a table (suppose A) I would like to trigger a service that runs SQL/PLSQL scripts (those scripts basically retrieve some values from other tables) and then compare the output of SQL/PLSQL scripts with what user has saved. So is there any way to achieve this?</p>
  <p>So assume that table A is updated from another service in another application so is there any way my current application can know it is updated or would I have to manually refresh it?
  Secondly, how can I run those scripts either way?Any code example would be very helpful .</p>