001    package hirondelle.web4j.database;
002    
003    /**
004     Execute a database transaction.
005    
006     <P>Should be applied only to operations involving more than one SQL statement.
007    */
008    public interface Tx {
009    
010      /**
011       Execute a database transaction, and return the number of edited records.
012      */
013      int executeTx() throws DAOException;
014      
015    }