Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] CDO Hibernate - inconsistencies in test cases
[CDO] CDO Hibernate - inconsistencies in test cases [message #686889] Fri, 13 May 2011 08:45
Goetz Botterweck is currently offline Goetz BotterweckFriend
Messages: 71
Registered: July 2009
Member
I noted two consistency in CDO Hibernate example test cases, which cause
test cases to fail.

1) org.eclipse.emf.cdo.examples.hibernate.client should list EMF Change
as a dependency

2) Apparently, there was a change in the metamodel in
org.eclipse.emf.cdo.examples.company. The metaclass Address was renamed
to Addressable. Hence, if I understand everything correctly
META-INF/company_model_teneo_annotations.xml
should be updated accordingly.




### Eclipse Workspace Patch 1.0
#P org.eclipse.emf.cdo.examples.hibernate.client
Index: META-INF/MANIFEST.MF
===================================================================
--- META-INF/MANIFEST.MF (revision 7692)
+++ META-INF/MANIFEST.MF (working copy)
@@ -18,7 +18,8 @@
org.eclipse.emf.teneo.hibernate.mapper;bundle-version="1.1.2",
org.eclipse.emf.teneo.annotations;bundle-version="1.1.2",
org.eclipse.emf.cdo.server.hibernate;bundle-version="3.0.0",
- org.hibernate;bundle-version="3.3.2"
+ org.hibernate;bundle-version="3.3.2",
+ org.eclipse.emf.ecore.change;bundle-version="2.7.0"
Import-Package: junit.framework;version="3.8.2",
org.apache.commons.logging;version="1.0.4"
Export-Package:
org.eclipse.emf.cdo.examples.hibernate.client;version="4.0.0"
#P org.eclipse.emf.cdo.examples.hibernate.server
Index: META-INF/company_model_teneo_annotations.xml
===================================================================
--- META-INF/company_model_teneo_annotations.xml (revision 7692)
+++ META-INF/company_model_teneo_annotations.xml (working copy)
@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<epackage
namespace-uri="http://www.eclipse.org/emf/CDO/examples/company/1.0.0">
- <eclass name="Address">
+ <eclass name="Addressable">
<table name="theAddressTable"/>
</eclass>
</epackage>
Previous Topic:[EMF - EEF] Generic XSD/XML editor
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sat Apr 20 00:31:57 GMT 2024

Powered by FUDForum. Page generated in 0.02979 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top