All the methods in xxxDao classes start a transaction, execute a query on the database and finish with commit, if an exception occurs, rollback never is executed.
Refactorize using business transaction.
For example, use just an only transaction for saveCourse method.
All the methods in xxxDao classes start a transaction, execute a query on the database and finish with commit, if an exception occurs, rollback never is executed. Refactorize using business transaction. For example, use just an only transaction for saveCourse method.