I'm wondering if it is possible to derive Data Entity Classes from an existing database. So to take it the other way around - not generating the database schema from the entity classes but the entity classes from a database. Is that somehow possible? asked 19.12.2013 at 11:49 Nikel Weis |
You can use a plugin like Eclipse Dali to do the trick for you. You can refer to the documentation, section 3.11 Generating Entities from Tables. PS: the plugin does not work with XpertIvy-you need a seperate Eclipse Installation. answered 19.12.2013 at 12:54 Daniel Oechslin |
Just found out myself: It is not possible to generate entity classes automatically. But what is possible, is to generate an entity class using existing tables and define the correct table fields mapped to the objects attribute. So no new schema needs to be generated/modified. answered 19.12.2013 at 12:33 Nikel Weis |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 19.12.2013 at 11:49
Seen: 2,872 times
Last updated: 19.12.2013 at 12:56