}
private void setParameter(final int i, final Object val) throws HBqlException {
HPreparedStatementImpl.checkForNullParameterValue(val);
final StatementWithParameters paramStmt = HPreparedStatementImpl.getParameterStatement(this.getStatement());
final NamedParameter param = paramStmt.getNamedParameters().getParameter(i);
param.setParameter(val);
}