Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » OSGI & JPA(Deploying JPA app into a OSGI container)
OSGI & JPA [message #505031] Thu, 24 December 2009 13:43 Go to next message
Miguel  is currently offline Miguel Friend
Messages: 4
Registered: December 2009
Junior Member
hi all,

I am new using JPA and OSGI. I have a JPA application and I would like to deploy it using a OSGI container.

I have found EclipseLink reference but it is not clear for me how to integrate both of them.

I usually work with standard OSGI API. Which bundles do I need to make my JPA application works in OSGI?
I have added javax.persistence_2.0.0.v200911271158 bundle but I guess I need some extra more bundles.

could anybody help me?

thank you in advance,

Miguel
Re: OSGI & JPA [message #505207 is a reply to message #505031] Mon, 28 December 2009 15:29 Go to previous messageGo to next message
Shaun Smith is currently offline Shaun SmithFriend
Messages: 197
Registered: July 2009
Senior Member
Hi Miguel,

The javax.persistence bundle contains just the JPA API classes but not a JPA implementation. The EclipseLink JPA implementation is packaged as a set of bundles. Take a look at the OSGi Examples on the wiki for details on what bundles you need and how to configure the necessary start levels.

--Shaun
Re: OSGI & JPA [message #505237 is a reply to message #505207] Mon, 28 December 2009 20:09 Go to previous message
Miguel  is currently offline Miguel Friend
Messages: 4
Registered: December 2009
Junior Member
Thank you shaun!!

I get it working wit eclipselink2.0. I was mixing versions using eclipse.

thank you.

Miguel
Previous Topic:downgraded to 1.2.0; sequences get out of sync
Next Topic:NoSuchMethodException when using FetchType.Lazy and weaving
Goto Forum:
  


Current Time: Thu Apr 25 04:27:34 GMT 2024

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

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

Back to the top