Yes. Just get the Hibernate Session from the EntityManager.
....
| @In(create=true) EntityManager em;
| ...
| public void find() {
| Session s = (Session) smsDatabase.getDelegate();
| ...
| }
| ...
| }
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984275#3984275
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984275
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user