private Prepared parseExecute() { ExecuteProcedure command = new ExecuteProcedure(session); String procedureName = readAliasIdentifier(); Procedure p = session.getProcedure(procedureName); if (p == null) { throw DbException.get(ErrorCode.FUNCTION_ALIAS_NOT_FOUND_1, procedureName); } command.setProcedure(p); if (readIf("(")) { for (int i = 0;; i++) { command.setExpression(i, readExpression()); if (readIf(")")) { break; } read(","); } } return command; }
private Prepared parseExecute() throws SQLException { ExecuteProcedure command = new ExecuteProcedure(session); String procedureName = readAliasIdentifier(); Procedure p = session.getProcedure(procedureName); if (p == null) { throw Message.getSQLException(ErrorCode.FUNCTION_ALIAS_NOT_FOUND_1, procedureName); } command.setProcedure(p); if (readIf("(")) { for (int i = 0;; i++) { command.setExpression(i, readExpression()); if (readIf(")")) { break; } read(","); } } return command; }
private Prepared parseExecute() { ExecuteProcedure command = new ExecuteProcedure(session); String procedureName = readAliasIdentifier(); Procedure p = session.getProcedure(procedureName); if (p == null) { throw DbException.get(ErrorCode.FUNCTION_ALIAS_NOT_FOUND_1, procedureName); } command.setProcedure(p); if (readIf("(")) { for (int i = 0;; i++) { command.setExpression(i, readExpression()); if (readIf(")")) { break; } read(","); } } return command; }
private Prepared parseExecute() { ExecuteProcedure command = new ExecuteProcedure(session); String procedureName = readAliasIdentifier(); Procedure p = session.getProcedure(procedureName); if (p == null) { throw DbException.get(ErrorCode.FUNCTION_ALIAS_NOT_FOUND_1, procedureName); } command.setProcedure(p); if (readIf("(")) { for (int i = 0;; i++) { command.setExpression(i, readExpression()); if (readIf(")")) { break; } read(","); } } return command; }