Author: areshetnyak
Date: 2009-11-13 11:54:22 -0500 (Fri, 13 Nov 2009)
New Revision: 665
Modified:
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/JBossCacheWorkspaceDataManager.java
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java
Log:
EXOJCR-201 : The JBossCacheWorkspaceDataManager.java was changed.
Modified:
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/JBossCacheWorkspaceDataManager.java
===================================================================
---
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/JBossCacheWorkspaceDataManager.java 2009-11-13
15:45:47 UTC (rev 664)
+++
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/dataflow/persistent/JBossCacheWorkspaceDataManager.java 2009-11-13
16:54:22 UTC (rev 665)
@@ -187,10 +187,11 @@
LOG.debug(ItemState.nameFromValue(itemState.getState()) + " "
+ (System.currentTimeMillis() - start)
+ "ms, " + data.getQPath().getAsString());
}
- if (thisConnection != null)
+ //TODO rainf0x
+ /*if (thisConnection != null)
thisConnection.removeSessionInfo();
if (systemConnection != null &&
!systemConnection.equals(thisConnection))
- systemConnection.removeSessionInfo();
+ systemConnection.removeSessionInfo();*/
}
if (thisConnection != null)
thisConnection.commit();
Modified:
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java
===================================================================
---
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java 2009-11-13
15:45:47 UTC (rev 664)
+++
jcr/branches/1.12.0-JBC/component/core/src/main/java/org/exoplatform/services/jcr/impl/storage/jbosscache/JDBCCacheLoader.java 2009-11-13
16:54:22 UTC (rev 665)
@@ -97,6 +97,7 @@
{
for (Modification m : modifications)
{
+ LOG.info(m);
switch (m.getType())
{
case PUT_DATA:
@@ -353,8 +354,9 @@
{
NodeData parentNodeData = (NodeData)
conn.getItemData((String)name.get(1));
- if (parentNodeData == null)
- throw new JDBCCacheLoaderException("The parent node with ID =
" + (String)name.get(1) + " not exis, FQN = '" + name +
"'.");
+ //TODO rainf0x
+ /*if (parentNodeData == null)
+ throw new JDBCCacheLoaderException("The parent node with ID =
" + (String)name.get(1) + " not exis, FQN = '" + name +
"'.");*/
if (parentNodeData != null)
{