// Year, month, date, hour, minute, second.
cal.set(2004, 06, 1, 0, 0, 0);
try {
for (int i = 1; i <= shapes.length; i++) {
SeRow row = insert.getRowToSet();
// col #0 is the sde managed row id
row.setInteger(0, Integer.valueOf(i));
row.setShort(1, Short.valueOf((short) i));
row.setFloat(2, new Float(i / 10.0F));
row.setDouble(3, new Double(i / 10D));
row.setString(4, "FEATURE_" + i);
row.setNString(5, "NSTRING_" + i);
cal.set(Calendar.DAY_OF_MONTH, i);
row.setTime(6, cal);
SeShape seShape = shapes[i - 1];
row.setShape(7, seShape);
insert.execute();
}
} finally {
insert.close();