Acquire statement inside transaction.
Address PMD import warnings.

Removing unnecessary fully qualified names.
Specify parameter for static import check to allow up to 10 static imports per file.
Schema changes are not allowed from slaves of an HA cluster.