[Teneo] Generating JPA Annotations in Java Code [message #116760] |
Thu, 03 April 2008 14:57  |
Eclipse User |
|
|
|
I've been doing a little research wrt to using Teneo to help with EMF
persistence.
Here are some observations I've made from looking at the Teneo JPA:
1. It doesn't generate JPA Annotations in Java Code (Bug 217220 and Bug
176726 seems to confirm this)
2. It only supports hibernate JPA (The requirement that for JPA you use
HbEntityDataStore seems to confirm this)
Please tell me I'm totally wrong :)
|
|
|
Re: [Teneo] Generating JPA Annotations in Java Code [message #116773 is a reply to message #116760] |
Thu, 03 April 2008 15:33  |
Eclipse User |
|
|
|
Hi,
1) Yes and no, I use teneo to generate jpa annotated code but that's not emf code (just plain
pojos). Internally Teneo is ready for generating jpa code, see the annotation classes in
org.eclipse.emf.teneo.annotations.pannotation and the getJavaAnnotation and getAnnotationClassName
methods in these classes.
Note that even when the bugzillas are solved and Teneo supports generating jpa annotated emf code
then I am not sure if jpa is powerful enough to handle all different kinds of emf model constructs
(for example featuremaps).
2) Jpox is also supported. Also EclipseLink will be supported in the short term. The eclipselink-emf
integration code has been submitted for ip-review, when that is done this code will be added to
Teneo and the teneo mapping logic will then also work with EclipseLink. This will be probably a few
months from now.
Ofcourse, I would be interested to hear if/in what way the above does (not) fit your requirements
gr. Martin
RefuX wrote:
> I've been doing a little research wrt to using Teneo to help with EMF
> persistence.
> Here are some observations I've made from looking at the Teneo JPA:
> 1. It doesn't generate JPA Annotations in Java Code (Bug 217220 and Bug
> 176726 seems to confirm this)
> 2. It only supports hibernate JPA (The requirement that for JPA you use
> HbEntityDataStore seems to confirm this)
>
> Please tell me I'm totally wrong :)
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
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
|
|
|
Re: [Teneo] Generating JPA Annotations in Java Code [message #616067 is a reply to message #116760] |
Thu, 03 April 2008 15:33  |
Eclipse User |
|
|
|
Hi,
1) Yes and no, I use teneo to generate jpa annotated code but that's not emf code (just plain
pojos). Internally Teneo is ready for generating jpa code, see the annotation classes in
org.eclipse.emf.teneo.annotations.pannotation and the getJavaAnnotation and getAnnotationClassName
methods in these classes.
Note that even when the bugzillas are solved and Teneo supports generating jpa annotated emf code
then I am not sure if jpa is powerful enough to handle all different kinds of emf model constructs
(for example featuremaps).
2) Jpox is also supported. Also EclipseLink will be supported in the short term. The eclipselink-emf
integration code has been submitted for ip-review, when that is done this code will be added to
Teneo and the teneo mapping logic will then also work with EclipseLink. This will be probably a few
months from now.
Ofcourse, I would be interested to hear if/in what way the above does (not) fit your requirements
gr. Martin
RefuX wrote:
> I've been doing a little research wrt to using Teneo to help with EMF
> persistence.
> Here are some observations I've made from looking at the Teneo JPA:
> 1. It doesn't generate JPA Annotations in Java Code (Bug 217220 and Bug
> 176726 seems to confirm this)
> 2. It only supports hibernate JPA (The requirement that for JPA you use
> HbEntityDataStore seems to confirm this)
>
> Please tell me I'm totally wrong :)
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
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.03406 seconds