[jboss-as7-dev] How to test this OSGi Enterprise R5 JPA stuff... was: [Re: OSGi version of javax.persistence spec]

Scott Marlow smarlow at redhat.com
Fri Aug 31 09:42:07 EDT 2012


Thomas,

I see that AS7-5465 is targeted for AS 7.2 but 7.2 doesn't package a 
OSGI enabled persistence provider.  That will change when we add OSGI 
support to Hibernate (via HHH-7527 & anything else that is needed).  Its 
not yet clear which version of AS, will be aligned with the Hibernate 
version that includes the OSGi support.

I believe that the EclipseLink persistence provider has OSGi support. 
Not sure yet about the others.  We will soon have the ability to 
(globally) configure the default persistence provider (module name). 
So, it should be less pain to choose an OSGi enabled provider of the 
users choice.

So, until we have a OSGi enabled version of Hibernate in AS, how can we 
test with another OSGi enabled persistence provider?  I heard that we 
have some unit tests that download Maven artifacts via the ShrinkWrap 
Maven resolver but I have yet to see that in action in the AS7 tests 
that I have looked at.

What do you suggest for testing this OSGi Enterprise JPA stuff...

Scott

On 08/31/2012 07:16 AM, Thomas Diesler wrote:
> Hi Paul,
>
> could you possibly provide a javax.persistence API bundle?
>
> https://issues.jboss.org/browse/AS7-5465
>
> cheers
> --thomas
>



More information about the jboss-as7-dev mailing list