Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Edapt] Migrator / MigrationReconstructor for Models without XMI Serialization(How to use Edapt on models which are not serialized in XMI files, but in a database using Teneo.)
icon5.gif  [Edapt] Migrator / MigrationReconstructor for Models without XMI Serialization [message #1486656] Tue, 25 November 2014 07:35 Go to next message
Timo Rohrberg is currently offline Timo RohrbergFriend
Messages: 69
Registered: September 2011
Location: Karlsruhe
Member
Hello everybody,

I have a simple Ecore meta-model and model instances saved to a relational database using Eclipse Teneo / Hibernate. Now, I would like to check if I can use Edapt to migrate from one meta-model version to another, including migration of my model instance data. I checked the tutorial of Edapt and also the source code in the GIT repository and am not sure if I can use Edapt out of the box. To me it seems that Edapt relies on model instances being persistet in either XMI files or a CDO repository. So I would have to write my own Migrator and/or MigrationReconstructor... Is that right or am I completely lost and there's another - much simpler - approach?

Thanks for any hints.

Cheers
Timo
Re: [Edapt] Migrator / MigrationReconstructor for Models without XMI Serialization [message #1489416 is a reply to message #1486656] Thu, 27 November 2014 10:49 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Timo,

your assumption is correct, a direct migration within the database is
not possible with Edapt. A common workaround is a database export to
XMI, a migration and a re-import to the database.

Cheers,
Maximilian

Am 25.11.2014 08:35, schrieb Timo Rohrberg:
> Hello everybody,
>
> I have a simple Ecore meta-model and model instances saved to a
> relational database using Eclipse Teneo / Hibernate. Now, I would like
> to check if I can use Edapt to migrate from one meta-model version to
> another, including migration of my model instance data. I checked the
> tutorial of Edapt and also the source code in the GIT repository and am
> not sure if I can use Edapt out of the box. To me it seems that Edapt
> relies on model instances being persistet in either XMI files or a CDO
> repository. So I would have to write my own Migrator and/or
> MigrationReconstructor... Is that right or am I completely lost and
> there's another - much simpler - approach?
>
> Thanks for any hints.
>
> Cheers
> Timo


--
Maximilian Kögel

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:[EMFStore] Performance Hit by number of checked out projects
Next Topic:ECP Trigger Validation
Goto Forum:
  


Current Time: Thu Apr 25 07:12:44 GMT 2024

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

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

Back to the top