throw new IndexOutOfBoundsException();
}
public void setObject(ExecutionContext ec, PreparedStatement preparedStmt, int[] exprIndex, Object value)
{
Clob clob = ((Clob)value);
if (clob == null) {
getDatastoreMapping(0).setObject(preparedStmt, exprIndex[0], null);
getDatastoreMapping(1).setObject(preparedStmt, exprIndex[1], null);
getDatastoreMapping(2).setObject(preparedStmt, exprIndex[2], null);
} else {
getDatastoreMapping(0).setString(preparedStmt, exprIndex[0], clob.getName());
getDatastoreMapping(1).setString(preparedStmt, exprIndex[1], clob.getMimeType().getBaseType());
getDatastoreMapping(2).setObject(preparedStmt, exprIndex[2], clob.getChars().toString());
}
}