|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.imaginary.lwp.Transaction | +--com.imaginary.lwp.JDBCTransactionImpl
Implements the Transaction
interface for support
of JDBC transactions.
Last modified $Date: 1999/10/06 21:08:56 $
Constructor Summary | |
JDBCTransactionImpl()
Constructs a new transaction. |
Method Summary | |
void |
commit()
Sends a commit to the connection currently in use. |
java.sql.Connection |
getConnection()
Provides a JDBC Connection object to the persistence
handler implementing a persistence for a business object. |
void |
rollback()
Tells the current connection to rollback. |
Methods inherited from class com.imaginary.lwp.Transaction |
begin,
end,
getCurrent,
getIdentifier,
getTimestamp,
save |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public JDBCTransactionImpl()
Method Detail |
public void commit() throws PersistenceException
public java.sql.Connection getConnection() throws java.sql.SQLException
Connection
object to the persistence
handler implementing a persistence for a business object. This
method finds the connection by loading a DataSource
from a JNDI directory and asking the data source for the
connection. The data source name should be provided in the
imaginary.lwp.dataSouceName system property.Connection
public void rollback() throws PersistenceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |