quality@glassfish.java.net

Re: Question to engineers - JPA integration

From: Adam Bien <abien_at_adam-bien.com>
Date: Mon, 22 Sep 2008 18:27:39 +0200

Hi Sherry,

thank you. Switching JPA providers in an appserver is one of the FAQs...

regards,

adam
Sherry Shen schrieb:
> Hi Adam,
>
> Mitesh has a blog about using Hibernate as a persistence provider with
> Glassfish v2.
> http://blogs.sun.com/GlassFishPersistence/#use_hibernate_as_a_persistence
> I will contact him to see if v3 prelude support Hibernate or
> if he can answer your rest questions.
>
> Thanks!
>
> Sherry
> Adam Bien wrote, On 9/21/2008 6:51 AM:
>
>> Hi All,
>>
>> I'm just wondering, whether the change of the JPA provider (e.g. to
>> Hibernate) requires specific steps. Does GF rely on JPA API (e.g.
>> EntityManager) only, or is dependent on the implementation (SPI) as
>> well?
>>
>> The EntityManager has to enlist to current transaction - does it
>> happen transparently (after setting the provider into the classpath
>> and changing the persistence.xml)?
>>
>> thank you in advance,
>>
>> adam
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>