|
Re: [Teneo] EMF and legacy database [message #423944 is a reply to message #423932] |
Fri, 10 October 2008 12:18 |
Martin Taal 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
|
|
|
Powered by
FUDForum. Page generated in 0.02748 seconds