Author: mircea.markus
Date: 2007-10-16 10:17:46 -0400 (Tue, 16 Oct 2007)
New Revision: 4622
Modified:
core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java
Log:
ehnaced logs JBCACHE-1176
Modified: core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java 2007-10-16
12:50:52 UTC (rev 4621)
+++ core/trunk/src/main/java/org/jboss/cache/loader/JDBCCacheLoader.java 2007-10-16
14:17:46 UTC (rev 4622)
@@ -95,6 +95,10 @@
ps.setString(1, fqn.isRoot() ? fqn.toString() : fqn + Fqn.SEPARATOR);
lock.acquireLock(fqn, true);
ps.executeUpdate();
+ if (getLogger().isTraceEnabled())
+ {
+ getLogger().trace("Deleting all the children of " + fqn + ".
Used sql is'" + config.getDeleteNodeSql() + '\'');
+ }
}
catch (SQLException e)
{
Show replies by date