Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Teneo] Generating JPA Annotations in Java Code
[Teneo] Generating JPA Annotations in Java Code [message #116760] Thu, 03 April 2008 18:57 Go to next message
RefuX Zanzeebarr is currently offline RefuX ZanzeebarrFriend
Messages: 51
Registered: July 2009
Member
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 19:33 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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 19:33 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
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
Previous Topic:[Teneo] Generating JPA Annotations in Java Code
Next Topic:Column name for attribute override
Goto Forum:
  


Current Time: Thu Apr 25 23:14:40 GMT 2024

Powered by FUDForum. Page generated in 0.02591 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top