}
}
public void setNull(String param, int value, String typeName) {
init();
IntArrayList positions = query.getNamedParameterIndices(param);
try {
for (int i = 0; i < positions.size(); i++) {
preparedStatement.setNull(positions.get(i), value, typeName);
}
} catch (SQLException sex) {
throw new DbSqlException(this, "Failed to set null to parameter: " + param, sex);
}
}