[jboss-user] [JBoss Seam] - Re: Set non-shared Hibernate interceptor on JPA EntityManage

mjschehl do-not-reply at jboss.com
Fri Oct 26 11:46:08 EDT 2007


Maybe I can use thread-safe Interceptors.  Is it safe and okay to do the following?

public class Mynterceptor extends EmptyInterceptor {
  | 
  |     @In Identity identity;
  | 
  |    @PersistenceContext                                                                  
  |    private EntityManager em;
  | 
  |    ...
  | }
  | 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099371#4099371

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099371



More information about the jboss-user mailing list