Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-02-14 19:15:41 +0000
committerEike Stepper2011-02-14 19:15:41 +0000
commita07d6753fd126df5f6ae35a9efa7479505ae6cc3 (patch)
treee8b3dfe3e44ff8f6630ba7641487c04522e9529c /plugins/org.eclipse.emf.cdo.server.hibernate
parent3f601b67d6c7f845258ffccfb26f1e4d41665bc8 (diff)
downloadcdo-a07d6753fd126df5f6ae35a9efa7479505ae6cc3.tar.gz
cdo-a07d6753fd126df5f6ae35a9efa7479505ae6cc3.tar.xz
cdo-a07d6753fd126df5f6ae35a9efa7479505ae6cc3.zip
[301512] [DB] Auto-configure mapping strategy based on repository properties and contributable factories
https://bugs.eclipse.org/bugs/show_bug.cgi?id=301512
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateStoreFactory.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateStoreFactory.java b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateStoreFactory.java
index 9e15c1bb91..1461b9c58d 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateStoreFactory.java
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/src/org/eclipse/emf/cdo/server/internal/hibernate/HibernateStoreFactory.java
@@ -10,9 +10,10 @@
*/
package org.eclipse.emf.cdo.server.internal.hibernate;
+import org.eclipse.emf.cdo.server.IStore;
import org.eclipse.emf.cdo.server.IStoreFactory;
import org.eclipse.emf.cdo.server.hibernate.IHibernateMappingProvider;
-import org.eclipse.emf.cdo.server.hibernate.IHibernateStore;
+import org.eclipse.emf.cdo.spi.server.InternalRepository;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
@@ -43,7 +44,7 @@ public class HibernateStoreFactory implements IStoreFactory
return HibernateStore.TYPE;
}
- public IHibernateStore createStore(Element storeConfig)
+ public IStore createStore(InternalRepository repository, Element storeConfig)
{
final IHibernateMappingProvider mappingProvider = getMappingProvider(storeConfig);

Back to the top