#1695 - For SQL Server like remove the binary collation (Latin1_General_BIN)

This commit is contained in:
rob bygrave
2019-05-12 15:22:08 +12:00
parent c61e6b04a2
commit 654c3f7f67
4 changed files with 38 additions and 19 deletions
@@ -47,8 +47,8 @@ abstract class SqlServerBasePlatform extends DatabasePlatform {
this.openQuote = "[";
this.closeQuote = "]";
this.likeSpecialCharacters = new char[]{'%', '_', '['};
this.likeClauseRaw = "like ? collate Latin1_General_BIN";
this.likeClauseEscaped = "like ? collate Latin1_General_BIN";
this.likeClauseRaw = "like ?";
this.likeClauseEscaped = "like ?";
booleanDbType = Types.INTEGER;
this.dbDefaultValue.setFalse("0");