*/
protected ScalarExpression compileExpressionFromString(String str)
{
try
{
p = new JPQLParser(str, imports);
ScalarExpression expr = compileExpression();
if (!p.parseEOS())
{
throw new QueryCompilerSyntaxException(LOCALISER.msg("021054", language), p.getIndex(), p.getInput());
}