[exo-jcr-commits] exo-jcr SVN: r1498 - jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/impl/dataflow/persistent.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Jan 20 05:17:49 EST 2010
Author: skabashnyuk
Date: 2010-01-20 05:17:48 -0500 (Wed, 20 Jan 2010)
New Revision: 1498
Modified:
jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspaceStorageCacheBaseCase.java
Log:
EXOJCR-390 : cache.beginTransaction() is colled in JBossCache
Modified: jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspaceStorageCacheBaseCase.java
===================================================================
--- jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspaceStorageCacheBaseCase.java 2010-01-20 10:12:01 UTC (rev 1497)
+++ jcr/branches/1.12.0-JBCCACHE/exo.jcr.component.core/src/test/java/org/exoplatform/services/jcr/impl/dataflow/persistent/WorkspaceStorageCacheBaseCase.java 2010-01-20 10:17:48 UTC (rev 1498)
@@ -561,7 +561,6 @@
properties2.add(propertyData22);
try
{
- cache.beginTransaction();
cache.addChildProperties(nodeData2, properties2);
List<NodeData> nodes2 = new ArrayList<NodeData>();
@@ -588,7 +587,7 @@
chlog.add(ItemState.createDeletedState(nodeData2));
// cache.remove(nodeData2); // remove node2 and its childs and properties (21, 22)
cache.onSaveItems(chlog);
- cache.commitTransaction();
+
}
catch (Exception e)
{
More information about the exo-jcr-commits
mailing list