Method Summary |
|
public void | executeDelete(DBConnection conn) Method to delete an object from the database. |
public void | executeInsert(DBConnection conn) Inserts the session into the database. |
public void | executeUpdate(DBConnection conn) Method to update contents of object in database. |
public void | finalizeDelete(boolean success) If this object's executeDelete method was
called then finalizeDelete is called with
the status of the database transaction. |
public void | finalizeInsert(boolean success) If this object's executeInsert method was
called then finalizeInsert is called with
the status of the database transaction. |
public void | finalizeUpdate(boolean success) If this object's executeUpdate method was
called then finalizeUpdate is called with
the status of the database transaction.
For instance the data object may want to
increment its version number once it has successfully
been commited to the database. |
PersistentSession | getSession() Returns the session for which this data object is
acting as a data base interface. |
int | getTransactionRowCount() Returns the transaction count - i.e. |
boolean | getTransactionStatus() Returns the transaction status. |