
org.sonar.l10n.plsqlopen.rules.plsql.CommitRollback.html Maven / Gradle / Ivy
The newest version!
Usually, the control of the transaction should be handled by the its "owner".
If the transaction was started by some Java code, the commit and rollback of this should be done in the Java code.
So, in this situation, calling a COMMIT or ROLLBACK from a database object is a bad pratice and should be avoided.
This rule ignores procedures and functions with PRAGMA AUTONOMOUS_TRANSACTION
.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy