"[email protected]" wrote : And second. How can you get SessionFactory from envoronment? The interface has only addContext(Context) method and SessionFactory does not implemenst Context. But maybe I shoul implement my own Environment and fill it in another way than throgh Environment interface.
I was wrong. I didn't understand how context works. So the PVM code is good and really very useful. I implemented my own HibernateContext and it was easy.. Fero View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213925#4213925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213925 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
