| Is XMI required to provide model instances? [message #1793878] |
Fri, 17 August 2018 15:46  |
Eclipse User |
|
|
|
Hi
As I understood the example 'Families to persons' the sample families are provided in an xmi file. Is it possible instead of providing this information, to use directly java object instances that comply with the 'source' metamodel? And is it possible as 'output' to receive java object instances that comply with the 'target' metamodel? If yes, how?
Thank you and kind regards,
|
|
|
| Re: Is XMI required to provide model instances? [message #1800687 is a reply to message #1793878] |
Sat, 05 January 2019 07:40  |
Eclipse User |
|
|
|
In case it might help others, I post the solution I've used.
First, I've tried to use neoemf to persist the EMF object. I faced two issues:
1. when I persist the object in Neo4j via NeoEMF, the business objects are persisted in a generic way. I.e. the business object are converted into edges and vertices. From my perspective, this approach was too generic and I was expecting to keep the domain specific object,
2. NeoEMF rely on an outdated version of Tinkerpop/Blueprints which doesn't support recent version of Neo4j. Also, I couldn't find a clear plan when NeoEMF would be migrated to a more recent version of Blueprint,
As an alternative solution I used CDO which worked out decently.
|
|
|
Powered by
FUDForum. Page generated in 0.03525 seconds