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
>
>