Index: topia2/src/java/org/codelutin/topia/TopiaContext.java diff -u topia2/src/java/org/codelutin/topia/TopiaContext.java:1.22 topia2/src/java/org/codelutin/topia/TopiaContext.java:1.23 --- topia2/src/java/org/codelutin/topia/TopiaContext.java:1.22 Tue Nov 14 22:37:02 2006 +++ topia2/src/java/org/codelutin/topia/TopiaContext.java Fri Jan 5 15:09:17 2007 @@ -23,9 +23,9 @@ * Created: 3 janv. 2006 21:18:34 * * @author poussin - * @version $Revision: 1.22 $ + * @version $Revision: 1.23 $ * - * Last update: $Date: 2006/11/14 22:37:02 $ + * Last update: $Date: 2007/01/05 15:09:17 $ * by : $Author: bpoussin $ */ @@ -111,6 +111,15 @@ public List find(String hql, Object ... args) throws TopiaException; /** + * Execute HQL operation on data (Update, Delete) + * @param hql la requete a faire + * @param args les arguments de la requete + * @return The number of entities updated or deleted. + * @throws TopiaException + */ + public int execute(String hql, Object ... args) throws TopiaException; + + /** * Permet d'ajouter dans le TopiaContext une TopiaEntity créé par un * autre context. * @param e