KEYCLOAK-10449 KEYCLOAK-10550 Fix manual DB migration test with MSSQL
This commit is contained in:
parent
925864530a
commit
67df6d03af
1 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ public class SqlUtils {
|
|||
executer.setUserid(dbUsername);
|
||||
executer.setUrl(dbUrl);
|
||||
|
||||
if (dbUrl.contains("mssql") || jdbcDriverClass.contains("mssql")) {
|
||||
if (dbUrl.contains("mssql") || jdbcDriverClass.contains("mssql") || jdbcDriverClass.contains("sqlserver")) {
|
||||
log.info("Using alternative delimiter due the MSSQL");
|
||||
executer.setDelimiter("go");
|
||||
executer.setDelimiter("GO");
|
||||
SQLExec.DelimiterType dt = new SQLExec.DelimiterType();
|
||||
dt.setValue(SQLExec.DelimiterType.ROW);
|
||||
executer.setDelimiterType(dt);
|
||||
|
|
Loading…
Reference in a new issue