Refator permissions to share same constants between Ruby and Java
SONAR-1718 Use simple quotes for SQL strings