[EMF Teneo] problems with integration of MySQL and EclipseLink in EMF Teneo [message #622888] |
Sun, 16 May 2010 06:01  |
Eclipse User |
|
|
|
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 06:16   |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03845 seconds