Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] EMF and legacy database
[Teneo] EMF and legacy database [message #423932] Fri, 10 October 2008 07:38 Go to next message
Wolfgang Roessler is currently offline Wolfgang RoesslerFriend
Messages: 5
Registered: July 2009
Junior Member
Hello,

I have the situation, that I have a legacy database I want to hide behind
an emf-model. The additional problem is, that the new models should
contain much more information than the legacy-database. Is this possible
with EMF and Teneo?

In my opinion there are two steps to solve:
1. The models must be split into two resources, one in a normal file and
one in the database.
2. The legacy database and the model must be mapped.

Greets
Wolfgang
Re: [Teneo] EMF and legacy database [message #423944 is a reply to message #423932] Fri, 10 October 2008 12:18 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Wolfgang,
Yes, it would be easier if you can add new tables (without changing the current tables in the legacy
database) to the database because then you can handle them (old and new) in one hibernate resource.

Mapping the legacy database and the model is possible using either annotations in the model or a
separate xml file.

gr. Martin

Wolfgang Roessler wrote:
> Hello,
>
> I have the situation, that I have a legacy database I want to hide
> behind an emf-model. The additional problem is, that the new models
> should contain much more information than the legacy-database. Is this
> possible with EMF and Teneo?
>
> In my opinion there are two steps to solve:
> 1. The models must be split into two resources, one in a normal file and
> one in the database.
> 2. The legacy database and the model must be mapped.
>
> Greets
> Wolfgang
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:Copy/Paste problem in TableViewer
Next Topic:RecordingCommand causes headache
Goto Forum:
  


Current Time: Fri Apr 26 08:20:37 GMT 2024

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

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

Back to the top