Author: sergiykarpenko
Date: 2011-09-15 05:55:10 -0400 (Thu, 15 Sep 2011)
New Revision: 4915
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/clean/rdbms/DBCleanService.java
Log:
EXOJCR-1537: fix dbcleaning for mssql on multidb
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/clean/rdbms/DBCleanService.java
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/clean/rdbms/DBCleanService.java 2011-09-15
08:56:47 UTC (rev 4914)
+++
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/clean/rdbms/DBCleanService.java 2011-09-15
09:55:10 UTC (rev 4915)
@@ -170,7 +170,7 @@
return new DBClean(jdbcConn, cleanScripts, new DBCleanHelper(jdbcConn,
selectItems, deleteItems));
}
- cleanScripts.add("delete from JCR_MITEM where JCR_MITEM.name <>
'" + Constants.ROOT_PARENT_NAME + "'");
+ cleanScripts.add("delete from JCR_MITEM where JCR_MITEM.NAME <>
'" + Constants.ROOT_PARENT_NAME + "'");
}
else
{
Show replies by date