For debugging. we are inserting debug statements in a table. This is basically an API (written in java) call which is calling MySQL stored procedure.
At java level too, w