Hello,

Sorry to spam the august's mailling list. ^__^

But, I need a clarification on the implementation for the INSERT and the
UPDATE methods.

Accroding you tutorial, the following steps are needed:

// INSERT
DBRecord rec = new DBRecord();
rec.create(DBRowSet table);
rec.setValue(...)
rec.update(java.sql.Connection conn);

// UPDATE
DBRecord rec = new DBRecord();
rec.read(..., java.sql.Connection conn);
rec.setValue(...)
rec.update(java.sql.Connection conn);

Why in case of the UPDATE we have to give the Connection by two times?

Thank to advise,
Regards.

Reply via email to