assert(catalog_stmt != null) :
"Invalid Statement name '" + stmtPair.getFirst() + "' for ParameterMappings " +
"for Procedure '" + procName + "'";
StmtParameter catalog_stmtParam = catalog_stmt.getParameters().get(stmtPair.getSecond().intValue());
assert(catalog_stmtParam != null) :
"Invalid StmtParameter for '" + catalog_stmt.fullName() + "' at offset " + stmtPair.getSecond();
// HACK: This assumes that the ProcParameter is not an array
// and that we want to map the first invocation of the Statement
// directly to the ProcParameter.
ParameterMapping pm = new ParameterMapping(catalog_stmt,