summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntje Fuhrmann2012-10-08 06:28:11 (EDT)
committerManik Kishore2012-10-08 06:28:11 (EDT)
commitce88753a466fd07125b6abfb898335ef913f7d66 (patch)
tree8c63b10537a0b0f696c7a6516f3f6fc6cb3019e3
parent0f47e0d3cf25406e5962be554c674de6d88cdc3e (diff)
downloadorg.eclipse.stardust.engine-ce88753a466fd07125b6abfb898335ef913f7d66.zip
org.eclipse.stardust.engine-ce88753a466fd07125b6abfb898335ef913f7d66.tar.gz
org.eclipse.stardust.engine-ce88753a466fd07125b6abfb898335ef913f7d66.tar.bz2
Jira-ID: CRNT-25772
Archiver creates complex SQL queries. git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@59832 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/engine/cli/sysconsole/Archiver.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/cli/sysconsole/Archiver.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/cli/sysconsole/Archiver.java
index 2635770..44d8834 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/cli/sysconsole/Archiver.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/cli/sysconsole/Archiver.java
@@ -83,6 +83,7 @@ import org.eclipse.stardust.engine.core.persistence.jdbc.SessionFactory;
import org.eclipse.stardust.engine.core.persistence.jdbc.SessionProperties;
import org.eclipse.stardust.engine.core.persistence.jdbc.TypeDescriptor;
import org.eclipse.stardust.engine.core.runtime.beans.*;
+import org.eclipse.stardust.engine.core.runtime.beans.removethis.KernelTweakingProperties;
import org.eclipse.stardust.engine.core.runtime.setup.DataCluster;
import org.eclipse.stardust.engine.core.runtime.setup.DataSlot;
import org.eclipse.stardust.engine.core.runtime.setup.RuntimeSetup;
@@ -1323,6 +1324,14 @@ public class Archiver
private List getRootPiPOidsSharingDataWithRunningAsynchPis(List stmtBatchRootPiOids,
List stmtBatchPiClosure)
{
+ String propertySharedDataExist = SchemaHelper
+ .getAuditTrailProperty(KernelTweakingProperties.INFINITY_DMS_SHARED_DATA_EXIST);
+ boolean applySharedDataFix = StringUtils.isNotEmpty(propertySharedDataExist)
+ && Boolean.parseBoolean(propertySharedDataExist);
+ if (!applySharedDataFix)
+ {
+ return Collections.EMPTY_LIST;
+ }
Set docDataOids = findAllDocumentDataOids();
if (docDataOids.isEmpty())
{