[jboss-user] [JBoss Seam] - Quick entity question

beligum do-not-reply at jboss.com
Mon Jan 8 06:08:17 EST 2007


Hi all,

Quick question; isn't it possible to inject a persistence-context in an entity-bean?

  | @Entity
  | @Name("loginEntity")
  | public class LoginEntity
  | {
  |     @In
  |     @Transient
  |     private EntityManager em;
  | }
  | 

thanks,

b.

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

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



More information about the jboss-user mailing list