[DBTablesMonitoring] Use a new code fashion to do transaction.

This commit replaces a method that calls addIncidentInfoWithoutTransaction().