FileDocCategorySizeDatePackage
JDBCTransaction.javaAPI DocExample1197Tue Apr 04 20:16:54 BST 2000com.imaginary.lwp.jdbc

JDBCTransaction

public interface JDBCTransaction
Prescribes methods specific to JDBC transactions.
Last modified $Date: 1999/11/07 19:32:31 $
version
$Revision: 1.1 $
author
George Reese (borg@imaginary.com)

Fields Summary
Constructors Summary
Methods Summary
public voidcommit()
Commits the transaction.

throws
com.imaginary.lwp.TransactionException a database error occurred

public java.sql.ConnectiongetConnection()
Provides a JDBC connection.

return
the JDBC connection for this transaction
throws
java.sql.SQLException a database error occurred

public voidrollback()
Rolls back the transaction.

throws
com.imaginary.lwp.TransactionException a database error occurred