users@glassfish.java.net

Re: Dirty Hack for accessing Hibernate session?

From: Mitesh Meswani <mitesh.meswani_at_oracle.com>
Date: Wed, 09 Mar 2011 13:50:37 -0800

Use EntityMaager.unwrap()
On 3/9/2011 4:37 AM, forums_at_java.net wrote:
> Hi folks,
>
> is it possible to access Hibernate directly, for example the Hibernate
> session from within the EAR? I am fully aware of the fact, that I am
> asking
> for some dirty hack from the JPA Entitymanager perspective...
>
> Michael
>
>
> --
>
> [Message sent by forum member 'ztangm']
>
> View Post: http://forums.java.net/node/779774
>
>