classes/hirondelle/web4j/database/Tx.java
changeset 0 3060119b1292
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/classes/hirondelle/web4j/database/Tx.java	Wed Dec 04 17:00:31 2013 +0100
@@ -0,0 +1,15 @@
+package hirondelle.web4j.database;
+
+/**
+ Execute a database transaction.
+
+ <P>Should be applied only to operations involving more than one SQL statement.
+*/
+public interface Tx {
+
+  /**
+   Execute a database transaction, and return the number of edited records.
+  */
+  int executeTx() throws DAOException;
+  
+}