using Hibernate 4.2.0 with EntiyManager, I am a beginner to hibernate as well as to interceptor.
So I have a requirement where I need to trigger interceptor to specific bean only. And i see interceptors are invoked for all the beans which are set in “persistence-unit”.
So is that possible to invoke interceptor for only selected beans by some work around?
i am setting the below property in my persistance.xml:
<property name= “hibernate.ejb.interceptor” value= “com.test.it.bl.impl.CustomInterceptor” />
For any other details please let me know.