summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-02-24 03:50:50 (EST)
committerEike Stepper2008-02-24 03:50:50 (EST)
commit379b9040dddc974265184b038c005caf1dfc968f (patch)
tree2e6eae09fea545e591415acafa4220c189b6ac75
parent353e6a080a2becb046c03248f035b8662a93d481 (diff)
downloadcdo-379b9040dddc974265184b038c005caf1dfc968f.zip
cdo-379b9040dddc974265184b038c005caf1dfc968f.tar.gz
cdo-379b9040dddc974265184b038c005caf1dfc968f.tar.bz2
[217117] Develop a HibernateStore
https://bugs.eclipse.org/bugs/show_bug.cgi?id=217117
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
index f3c709c..68159ef 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
@@ -62,7 +62,7 @@
<property name="featureID" column="feature" type="int" not-null="true" />
<property name="type" type="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOTypeUserType"
not-null="false" />
- <many-to-one name="referenceCDOClass" class="CDOClassImpl" column="reftype" not-null="false" cascade="persist, merge, save-update, evict, replicate, lock, refresh"/>
+ <many-to-one name="referenceType" class="CDOClassImpl" column="reftype" not-null="false" cascade="persist, merge, save-update, evict, replicate, lock, refresh"/>
<property name="many" type="boolean" not-null="true" />
<property name="containment" type="boolean" not-null="false" />
</joined-subclass>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.java
index cdc9766..7764280 100644
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.java
@@ -118,7 +118,7 @@ public class HibernateTest
props.setProperty(Environment.DRIVER, driverName);
props.setProperty(Environment.URL, "jdbc:mysql://localhost/cdohibernate");
props.setProperty(Environment.USER, "root");
- props.setProperty(Environment.PASS, "root");
+ // props.setProperty(Environment.PASS, "root");
props.setProperty(Environment.DIALECT, dialectName);
props.setProperty(Environment.SHOW_SQL, "true");
props.setProperty("hibernate.hbm2ddl.auto", "create-drop");