I don't touch transactions in my code anywhere.   Here is a strange thing.  I 
take the type=EXTENDED off of my persistence context, and I get a 
NullPointerException on:


  | Query query = em.createQuery("from Group where group.id = :id");
  | 

Which tells me that the EntityManager is somehow not getting injected via the 
@PersistenceContext?  HOWEVER, I have another @Stateful bean which has similar 
functionality, and it is working find.  Why is this one being ornery?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968375
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to