SONAR-4542 SQLException during upgrade to 3.6.2