IDEMPIERE-1906 Use postgresql SIMILAR TO instead of LIKE / fix Synchronize Terminology broken when using SIMILAR TO

This commit is contained in:
Carlos Ruiz 2018-12-11 14:45:56 +01:00
parent e8b0df69d3
commit cb9bc48031
1 changed files with 1 additions and 1 deletions

View File

@ -793,7 +793,7 @@ public class Convert_PostgreSQL extends Convert_SQL92 {
*/
private String addAliasToIdentifier(String where, String alias)
{
String sqlkey = "AND,OR,FROM,WHERE,JOIN,BY,GROUP,IN,INTO,SELECT,NOT,SET,UPDATE,DELETE,HAVING,IS,NULL,EXISTS,BETWEEN,LIKE,INNER,OUTER";
String sqlkey = "AND,OR,FROM,WHERE,JOIN,BY,GROUP,IN,INTO,SELECT,NOT,SET,UPDATE,DELETE,HAVING,IS,NULL,EXISTS,BETWEEN,LIKE,INNER,OUTER,SIMILAR TO";
StringTokenizer st = new StringTokenizer(where);
String result = "";