// The rest is initialized to 0 anyway, leave it that way.
}
public void load() {
ThreadConnection c = ThreadConnection.getInstance();
try {
PreparedStatement s = c.prepareStatement(STATEMENT);
for (int i = 0; i < fields.length; i++)
if (fields[i] != null)
s.setString(i + 1, fields[i]);
else
s.setNull(i + 1, Types.VARCHAR);
s.setDate(7, createdTimestamp);
for (int i = 0; i < ifields.length; i++)
s.setInt(8 + i, ifields[i]);
c.addBatch();
} catch (SQLException e) {
logger.log(Level.SEVERE, e.getMessage(), e);
}
}