quality@glassfish.java.net

Re: Question to engineers - JPA integration

From: Sherry Shen <Sherry.Shen_at_Sun.COM>
Date: Mon, 22 Sep 2008 08:56:31 -0700

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
>