Refactoring parsing of sql string value to separate static method. Makes it possible to use from elsewhere (liquibase-hibernate in my case).