Author: manik.surtani(a)jboss.com
Date: 2008-09-23 18:03:36 -0400 (Tue, 23 Sep 2008)
New Revision: 6784
Modified:
core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java
Log:
Do not create node if it already exists
Modified: core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java 2008-09-23
15:23:57 UTC (rev 6783)
+++ core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java 2008-09-23
22:03:36 UTC (rev 6784)
@@ -335,7 +335,7 @@
}
else
{
- insertNode(currentNode, null);
+ if (loadNode(currentNode) == null) insertNode(currentNode, null);
}
}
finally
Show replies by date