Author: chatellier Date: 2008-08-29 15:26:35 +0000 (Fri, 29 Aug 2008) New Revision: 1049 Modified: trunk/topia2/src/java/org/codelutin/topia/framework/TopiaContextImpl.java Log: Add missing avent after restore Modified: trunk/topia2/src/java/org/codelutin/topia/framework/TopiaContextImpl.java =================================================================== --- trunk/topia2/src/java/org/codelutin/topia/framework/TopiaContextImpl.java 2008-08-29 15:21:22 UTC (rev 1048) +++ trunk/topia2/src/java/org/codelutin/topia/framework/TopiaContextImpl.java 2008-08-29 15:26:35 UTC (rev 1049) @@ -1083,6 +1083,9 @@ SQLQuery query = getHibernate().createSQLQuery("RUNSCRIPT FROM '" + file.getAbsolutePath() + "'" + options); query.executeUpdate(); + // send event AFTER restore + getFiresSupport().firePostRestoreSchema(this); + // BufferedReader reader = new BufferedReader(new InputStreamReader(in)); // Connection conn = getHibernate().connection(); // conn.setAutoCommit(false);
participants (1)
-
chatellierï¼ users.labs.libre-entreprise.org