public ParseTree implement(JavaRelImplementor implementor)
{
Variable connectionVariable =
new Variable(OJPreparingStmt.connectionVariable);
SqlString sql = MedJdbcNameDirectory.normalizeQueryString(queryString);
Expression allocExpression =
new CastExpression(
OJClass.forClass(FarragoStatementAllocation.class),
new MethodCall(
connectionVariable,
"getDataServerRuntimeSupport",
new ExpressionList(
Literal.makeLiteral(
server.getServerMofId()),
Literal.makeLiteral(sql.getSql()))));
return allocExpression;
}