[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 10:33:30 EDT 2012


By the way, the JPA (EE) subsystem in AS7, creates a PersistenceUnit 
service (similar to the OSGi entity manager service) for each deployed 
persistence unit definition in the persistence.xml.  This is how we 
bridge javax.persistence into our MSC modular environment.

On 08/31/2012 09:42 AM, Scott Marlow wrote:
> 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
>>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>



More information about the jboss-as7-dev mailing list