|
|
Re: EMF and JPA [message #756614 is a reply to message #756596] |
Mon, 14 November 2011 14:14 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Or the Texo project (but that's not for rcp's directly):
http://martintaal.wordpress.com/2011/10/26/texo-generate-jpa-annotated-pojos-from-ecorexsd/
gr. Martin
On 11/14/2011 02:20 PM, Ed Merks wrote:
> Mike,
>
> You'll want to have a look at the Teneo project.
>
> On 14/11/2011 2:03 PM, Mike wrote:
>> Hi
>>
>> I created an emf project, generated the editor code and filled my model with data -> via test.editor (My project is
>> called "test" so I've got an test.edit, test.editor, test.tests). The data are stored in an xml file. Now I would like
>> to read the data via JPA. Does anyone know how my persistence.xml should look like?
>>
>> My data xml looks like this:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <sa:Library xmi:version="2.0" xmlns:xmi="..." xmlns:sa="...">
>> <RefLibBook Pages="10" Name="BookA"/>
>> <RefLibBook Pages="20" Name="BookB"/>
>> </sa:Library>
>>
>>
>> Thanks
--
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.03104 seconds