<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Is it possible to create entity classes from an existing database?</title><link>https://answers.axonivy.com/questions/217/is-it-possible-to-create-entity-classes-from-an-existing-database</link><description>&lt;p&gt;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?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/217/is-it-possible-to-create-entity-classes-from-an-existing-database" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 19 Dec 2013 12:54:50 -0500</lastBuildDate><item><title>Answer by Daniel Oechslin</title><link>https://answers.axonivy.com/questions/217/is-it-possible-to-create-entity-classes-from-an-existing-database/219</link><description>&lt;p&gt;You can use a plugin like &lt;a href="http://www.eclipse.org/webtools/dali/"&gt;Eclipse Dali&lt;/a&gt; to do the trick for you. You can refer to the &lt;a href="http://www.eclipse.org/webtools/dali/docs/dali_user_guide_2.3.pdf"&gt;documentation&lt;/a&gt;, section 3.11 Generating Entities from Tables.&lt;/p&gt;
&lt;p&gt;PS: the plugin does not work with XpertIvy-you need a seperate Eclipse Installation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Oechslin</dc:creator><pubDate>Thu, 19 Dec 2013 12:54:50 -0500</pubDate><guid>https://answers.axonivy.com/questions/217/is-it-possible-to-create-entity-classes-from-an-existing-database/219</guid></item><item><title>Answer by Nikel Weis</title><link>https://answers.axonivy.com/questions/217/is-it-possible-to-create-entity-classes-from-an-existing-database/218</link><description>&lt;p&gt;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.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nikel Weis</dc:creator><pubDate>Thu, 19 Dec 2013 12:33:22 -0500</pubDate><guid>https://answers.axonivy.com/questions/217/is-it-possible-to-create-entity-classes-from-an-existing-database/218</guid></item></channel></rss>