removed escapeLikeCharacter method, as it is covered by parent implementation (#1274)

This commit is contained in:
Roland Praml
2018-02-26 08:42:18 +13:00
committed by Rob Bygrave
parent e3425a8850
commit 0de084caec
4 changed files with 1 additions and 12 deletions
@@ -46,10 +46,6 @@ public class DB2Platform extends DatabasePlatform {
persistBatchOnCascade = PersistBatch.NONE;
}
@Override
protected void escapeLikeCharacter(char ch, StringBuilder sb) {
sb.append('|').append(ch);
}
/**
* Return a DB2 specific sequence IdGenerator that supports batch fetching
* sequence values.
@@ -67,8 +67,4 @@ public class MySqlPlatform extends DatabasePlatform {
return sql + " for update";
}
@Override
protected void escapeLikeCharacter(char ch, StringBuilder sb) {
sb.append('|').append(ch);
}
}
@@ -86,8 +86,4 @@ public class OraclePlatform extends DatabasePlatform {
}
}
@Override
protected void escapeLikeCharacter(char ch, StringBuilder sb) {
sb.append('|').append(ch);
}
}
@@ -28,6 +28,7 @@ public class SQLitePlatform extends DatabasePlatform {
dbTypeMap.put(DbType.SMALLINT, new DbPlatformType("integer"));
}
@Override
protected void escapeLikeCharacter(char ch, StringBuilder sb) {
sb.append(ch);
}