Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2015-08-15 04:27:55 -0400
committerEike Stepper2015-08-15 04:27:55 -0400
commitaff55d74f59fc7915dae22175c73e2960206b0db (patch)
tree7590bc4b89ae309bcf03fc38b6f315feabf071ff /plugins/org.eclipse.emf.cdo.explorer
parent23ba5dd08145f170273ba6f4f19e8f31b102e25d (diff)
downloadcdo-aff55d74f59fc7915dae22175c73e2960206b0db.tar.gz
cdo-aff55d74f59fc7915dae22175c73e2960206b0db.tar.xz
cdo-aff55d74f59fc7915dae22175c73e2960206b0db.zip
[474681] Add mapping strategy option to support index creation on all cross references
https://bugs.eclipse.org/bugs/show_bug.cgi?id=474681
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.explorer')
-rw-r--r--plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/OfflineCDOCheckout.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/repositories/LocalCDORepository.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/OfflineCDOCheckout.java b/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/OfflineCDOCheckout.java
index b01a1b018e..98fa3387ff 100644
--- a/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/OfflineCDOCheckout.java
+++ b/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/OfflineCDOCheckout.java
@@ -230,7 +230,7 @@ public class OfflineCDOCheckout extends CDOCheckoutImpl
dataSource.setURL("jdbc:h2:" + dbPrefix);
Map<String, String> props = new HashMap<String, String>();
- props.put(IMappingStrategy.PROP_QUALIFIED_NAMES, "true");
+ props.put(IMappingStrategy.Props.QUALIFIED_NAMES, "true");
IMappingStrategy mappingStrategy = CDODBUtil.createHorizontalMappingStrategy(true, true, false);
mappingStrategy.setProperties(props);
diff --git a/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/repositories/LocalCDORepository.java b/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/repositories/LocalCDORepository.java
index 977535c7d9..6f7ba1404d 100644
--- a/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/repositories/LocalCDORepository.java
+++ b/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/repositories/LocalCDORepository.java
@@ -161,7 +161,7 @@ public class LocalCDORepository extends CDORepositoryImpl
protected Map<String, String> getMappingStrategyProperties()
{
Map<String, String> props = new HashMap<String, String>();
- props.put(IMappingStrategy.PROP_QUALIFIED_NAMES, "true");
+ props.put(IMappingStrategy.Props.QUALIFIED_NAMES, "true");
props.put(CDODBUtil.PROP_COPY_ON_BRANCH, "true");
return props;
}

Back to the top