Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo
[EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo [message #622888] Sun, 16 May 2010 10:01 Go to next message
kidsos is currently offline kidsosFriend
Messages: 26
Registered: May 2010
Junior Member
Hello Eclipse users,

I'm new to EMF. For my next project I want to use EclipseLink as OR-mapper to store data permanently in a database (MySQL in my case). So, I've looked about an appropriate framework and found Teneo for modelling with EMF.

In my next step, I've tried to configure the Manifest file as described in this http://wiki.eclipse.org/Teneo/EclipseLink For adding the mysql jdbc driver, which I downloaded beforce, I've copied the jar file in the dropins folder of my Eclipse installation. After this, I've created a simple one-class-model (for testing purposes only) and tried to generate an orm.xml file. As result, I get a NullpointerException with the following error:

15.05.2010 11:07:00 org.eclipse.emf.teneo.classloader.ClassLoaderResolver setClassLoaderStrategy
INFO: Class loader strategy set to: org.eclipse.emf.teneo.classloader.ContextClassLoaderStrategy

I'm absolutely helpless.
What I have exactly to do to integrate the mysql jdbc driver and EclipseLink in EMF Teneo such as in the http://wiki.eclipse.org/Teneo/Hibernate/Download_and_Install ?

Thanks in advance
Re: [EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo [message #622889 is a reply to message #622888] Sun, 16 May 2010 10:16 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Philipp,
Do you still see an orm.xml generated (eventhough you get an error)?

Is what you see similar to what is described in this bugzilla?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=312587

I do not really have good experience with the dropins folder. You can also install some dependencies (mysql, hsqldb)
from this update site:
http://www.elver.org/eclipse/update

Did you add the dependencies to teneo/commons.logging to the model project as described in:
http://wiki.eclipse.org/Teneo/EclipseLink#Generating_the_orm .xml_through_the_menu

As a side remark, I am not sure if your project is for a web (service) application or for a RCP. If it is for a web
(service) application then this project maybe of interest for you:
http://wiki.eclipse.org/Texo

I am currently adding orm-generation to Texo. This will be released in a few days from now.

btw, Teneo is supported on the main EMF newsgroup which I added as a cc to this post.

gr. Martin

philipp.wode@gmx.net wrote:
> Hello Eclipse users,
>
> I'm new to EMF. For my next project I want to use EclipseLink as
> OR-mapper to store data permanently in a database (MySQL in my case).
> So, I've looked about an appropriate framework and found Teneo for
> modelling with EMF.
> In my next step, I've tried to configure the Manifest file as described
> in this http://wiki.eclipse.org/Teneo/EclipseLink For adding the mysql
> jdbc driver, which I downloaded beforce, I've copied the jar file in the
> dropins folder of my Eclipse installation. After this, I've created a
> simple one-class-model (for testing purposes only) and tried to generate
> an orm.xml file. As result, I get a NullpointerException with the
> following error:
>
> 15.05.2010 11:07:00
> org.eclipse.emf.teneo.classloader.ClassLoaderResolver
> setClassLoaderStrategy
> INFO: Class loader strategy set to:
> org.eclipse.emf.teneo.classloader.ContextClassLoaderStrategy
>
> I'm absolutely helpless. What I have exactly to do to integrate the
> mysql jdbc driver and EclipseLink in EMF Teneo such as in the
> http://wiki.eclipse.org/Teneo/Hibernate/Download_and_Install ?
>
> Thanks in advance
>


--

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
Re: [EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo [message #917029 is a reply to message #622889] Wed, 19 September 2012 18:51 Go to previous messageGo to next message
Marcel Donges is currently offline Marcel DongesFriend
Messages: 2
Registered: September 2012
Junior Member
Hi,

I have the same Problem.
I use Indigo.

Additionally I could not add the Import dependency
org.apache.derby.jdbc to the project, since the default Installation of Indigo does not offer it.

How can I workaround that?

Is the Teneo Project still alive?
I would love to use it really, but I never saw it running anywhere else than on eclipseCon 2009 Smile
Re: [EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo [message #917030 is a reply to message #917029] Wed, 19 September 2012 18:52 Go to previous messageGo to next message
Marcel Donges is currently offline Marcel DongesFriend
Messages: 2
Registered: September 2012
Junior Member
by the way, I want to user eclipseLink with derby 10.8.2.2
Re: [EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo [message #917242 is a reply to message #917030] Wed, 19 September 2012 23:41 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Marcel,
The Teneo-EclipseLink integration is *not* alive, the Teneo-Hibernate is very much alive and delivered/maintained in
multiple versions.

For using EMF with EclipseLink you can consider the EMFT Texo project:
http://wiki.eclipse.org/Texo
http://martintaal.wordpress.com/category/texo/

gr. Martin

On 09/19/2012 08:52 PM, Marcel Donges wrote:
> by the way, I want to user eclipseLink with derby 10.8.2.2


--

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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:[EEF] Using EEF with Abstact class, inheritance and reference.
Next Topic:Error in EEF generatoed forms
Goto Forum:
  


Current Time: Fri Mar 29 10:05:10 GMT 2024

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

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

Back to the top