|
Re: Using EMF with existing database [message #1712811 is a reply to message #1712539] |
Wed, 28 October 2015 12:10 |
|
Am 26.10.2015 um 14:21 schrieb erwan drezen:
> Hello,
>
> I am working on a project with a huge third party MySQL database (hundred of GBytes) and I have to develop specific
> GUI applications to query this database.
> In particular, I have no logical view on this database and I can only deal with the low level MySQL shema. I wrote a
> high level model in ECore from this schema (kind of reverse enginering) and transformed a part of the original MySQL
> database into my model by using CDO. I tested OCL to query my model and it works pretty well.
>
> However, I am facing a very long execution time when I try to transform the whole initial MySQL db into my own model,
I don't get what you intend to say with this sentence. What means "transform" and "initial"? What is executed and how
long is long? How big is the DB or the model?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
> which makes this transformation not usable on real data.
>
> So, my question is : is it possible to "link" my EMF model with the already existing database ? By linking, I mean
> writing some kind of specific java adapter that knows how to convert the concepts of my ECore model into the schema of
> the MySQL database.
> Important point : my final GUI application only reads the database and doesn't need to modify it.
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.03429 seconds