<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Composite Primary Key in Persistence</title><link>https://answers.axonivy.com/questions/1039/composite-primary-key-in-persistence</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Is there any way to have multiple ID's in one Entity?
Corresponding JPA it should be possible. But trying in the designer I get: Exaclty one 'Id' field per Entity Class must be used. 
Although it is not named 'Id'.
Would be saving a lot of work, when this is enabled.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Alexis&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1039/composite-primary-key-in-persistence" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 18 Nov 2014 17:39:50 -0500</lastBuildDate><item><title>Answer by HaraldWeber</title><link>https://answers.axonivy.com/questions/1039/composite-primary-key-in-persistence/1040</link><description>&lt;p&gt;To get the full feature set of JPA I copied the generated entity class from "src_dataClasses" to the "src" directory (with package directories) and deleted the entity class in Axon.ivy.&lt;/p&gt;
&lt;p&gt;Now I can manage the entity classes in pure java. Also the "Generate Schema" button in the Persistence screen is working.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">HaraldWeber</dc:creator><pubDate>Tue, 18 Nov 2014 17:39:50 -0500</pubDate><guid>https://answers.axonivy.com/questions/1039/composite-primary-key-in-persistence/1040</guid></item></channel></rss>