Skip to content
Snippets Groups Projects
Commit 7e205b6f authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

replace some SqlUtils.translateStatementWithQuotes(cond.build with .translate

parent 4870d58d
No related branches found
No related tags found
No related merge requests found
......@@ -21,5 +21,5 @@ if (usageFilter)
from AB_KEYWORD_ATTRIBUTERELATION ", null, ")"));
}
cond = SqlUtils.translateStatementWithQuotes(cond.build("1 = 2"));
cond = SqlUtils.cond.translate("1 = 2");
result.string(cond);
\ No newline at end of file
......@@ -20,5 +20,5 @@ if (usageFilter)
from AB_KEYWORD_ATTRIBUTERELATION ", null, ")"));
}
cond = SqlUtils.translateStatementWithQuotes(cond.build("1 = 2"));
cond = SqlUtils.cond.translate("1 = 2");
result.string(cond);
\ No newline at end of file
......@@ -7,4 +7,4 @@ var cond = SqlCondition.begin()
.andPrepareVars("DOCUMENTTEMPLATE.KIND", "$param.DocumentTemplateType_param")
.andPrepareVars("DOCUMENTTEMPLATE.CLASSIFICATION", "$param.DocumentTemplateTypeClassification_param");
result.string(SqlUtils.translateStatementWithQuotes(cond.build("1=1")));
\ No newline at end of file
result.string(SqlUtils.cond.translate("1=1"));
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment