All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.oe.rules.rssw-oe.compiler.warning.214.html Maven / Gradle / Ivy

The newest version!

This issue is raised whenever a TRANSACTION keyword is found within the actual scope of a transaction, meaning that the TRANSACTION keyword doesn't have any effect.

Noncompliant Code Example

FIND FIRST Customer EXCLUSIVE-LOCK.
DO TRANSACTION:
  FIND FIRST Item.
  ASSIGN Item.Name = "xx".
END.

Compliant Solution

/* There are different compliant solutions, one may be : */
DO TRANSACTION:
  FIND FIRST Customer EXCLUSIVE-LOCK.
  ASSIGN Customer.Name = "xx".
  FIND FIRST Item.
  ASSIGN Item.Name = "xx".
END.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy