AfterUpdateEntityListener
onAfterUpdate() method is called after a record was updated in the database, but before transaction commit**. This method does not allow modifications of the current persistence context, however, database modifications can be done using QueryRunner.**
I am new to cuba. Looking at the above definition of an AfterUpdateEntityListener it says that one can do database modifications using QueryRunner. I don’t understand. I tried looking at the example of a QueryRunner but was unable to understand. Please do provide me with more insight about a QueryRunner, with simpler examples.