Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » [SOLVED] Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1(Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1)
[SOLVED] Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1 [message #1123449] Wed, 02 October 2013 11:22 Go to next message
Eclipse UserFriend
Hi,

I want to use EclipseLink in an RCP (Osgi) environment.
When I use i in a simple main()-Java Programm, then it is no problem, the classloader can load the EntityManager an all the stuff.

But know I want to use it in an RCP (Osgi). I tried it with Gemini JPA, but without success. Has anybody in the world ab good example how is the best way using EclipseLink in an RCP environment?

best regards
jk

[Updated on: Fri, 04 October 2013 17:17] by Moderator

Re: Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1 [message #1124149 is a reply to message #1123449] Thu, 03 October 2013 04:31 Go to previous messageGo to next message
Eclipse UserFriend
i am using Gemini DI [1], with JPA2 and EclipseLink 2.5.0 - which seemed to be the only way.

let me know if you got it working

[1] https://github.com/muuki88/org.eclipse.gemini.ext.di
Re: Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1 [message #1125754 is a reply to message #1123449] Fri, 04 October 2013 17:16 Go to previous messageGo to next message
Eclipse UserFriend
thx ludwig!

I found an other way to use EclipseLink 2.5.1 in a RCP(OSGi Classloader) environment within an e4 application.
Hard work, really. Without a running workspace example not so easy!
(When EclipseLink should be the favourite JPA Provider for RCP e4 applications, there should be a running example and not only tun's of puzzles)

So, maybe I will try your Gemini example anytime.

best regards
jk
[SOLVED] Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1 [message #1132508 is a reply to message #1125754] Fri, 11 October 2013 03:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

with the link you attched it was possible for me to update my rcp project in a manner ,that it works now with Gemini / EclipseLink 2.5.X.
The important thing was to check exactly the starting order of the plugin's in the run-configuration of my e4 project.

But...the link to the githup from nepomukwas perfect for me to compare my project with the example from nepomuk.
So...thanks to you an nepomuk!

regards
JK
Re: [SOLVED] Using Eclipselink in RCP environment? Want to use EclipseLink 2.5.1 [message #1132659 is a reply to message #1132508] Fri, 11 October 2013 05:50 Go to previous message
Eclipse UserFriend
thanks !

it really helped.
Previous Topic:Tutorial ?
Next Topic:Eclipselink / RCP / Gemini with @Transactional ala Spring?
Goto Forum:
  


Current Time: Sun Jul 06 12:01:58 EDT 2025

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

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

Back to the top