SessionFactory « Interceptor « JPA Q&A





1. SessionFactory or Session (in regards to Interceptors)    forum.hibernate.org

Trying to load an Interceptor when the sessionFactory is created, yet not seeing anything -- Simple Interceptor onload just logs a message -- Nothing Trying at the session level and getting results -- I am needing it at the sessionfactory level -- using the following SessionFactory sessionFactory = new Configuration().setInterceptor(new One2ManyInterceptor()).configure().buildSessionFactory(); with no results.. Please, oh please help -- Grumpy statements ...

2. Guidlines on SessionFactory scoped interceptor    forum.hibernate.org

Hello : I am using Hibernate 3.1 in managed CMT environment with JBoss 3.2.7. I have to implement a Audit Inteceptor for all the entities for setting modified date time and modified user. Since I have configured Hibernate to work in a managed environment, I am using the getCurrentSession() method in SessionFactory to get the session. Since getCurrentSession() will use the ...

3. Guidlines on SessionFactory scoped interceptor    forum.hibernate.org

Hello : I am using Hibernate 3.1 in managed CMT environment with JBoss 3.2.7. I have to implement a Audit Inteceptor for all the entities for setting modified date time and modified user. Since I have configured Hibernate to work in a managed environment, I am using the getCurrentSession() method in SessionFactory to get the session. Since getCurrentSession() will use the ...

4. Session Factory Interceptor    forum.hibernate.org