Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:22 Go to next message
Jack Kilian is currently offline Jack KilianFriend
Messages: 40
Registered: March 2012
Member
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 21:17]

Report message to a 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 08:31 Go to previous messageGo to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
Registered: July 2009
Senior Member
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 21:16 Go to previous messageGo to next message
Jack Kilian is currently offline Jack KilianFriend
Messages: 40
Registered: March 2012
Member
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 07:34 Go to previous messageGo to next message
Jack Kilian is currently offline Jack KilianFriend
Messages: 40
Registered: March 2012
Member
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 09:50 Go to previous message
Yann Perey is currently offline Yann PereyFriend
Messages: 4
Registered: October 2013
Junior Member
thanks !

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


Current Time: Fri Mar 29 15:09:12 GMT 2024

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

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

Back to the top