biz.hammurapi.sql
Interface Transaction


public interface Transaction

Interface to execute a series of database operation in a transaction.

Author:
Pavel Vlasov

Method Summary
 boolean execute(SQLProcessor processor)
           
 

Method Detail

execute

boolean execute(SQLProcessor processor)
                throws java.sql.SQLException
Parameters:
processor -
Returns:
true if transaction shall be commited, false if it should be rolled back.
Throws:
java.sql.SQLException - If exception is thrown then transaction is rolled back.


Copyright © 2003 Hammurapi Group. All Rights Reserved.