I have a stateless session bean with a method annotated with the transaction
attribute type SUPPORTS. The method performs a read-only query. I can't get
that to work. I always get the following stack trace:
javax.persistence.TransactionRequiredException: EntityManager must be access
within a tr
Anyone out there that knows the answer to this question? Is it a bug in the EJB
3.0 EntityManager implementation? Should I file a JIRA on it?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921444#3921444
Reply to the post :
http://www.jboss.com/index.html?m
I have a stateless session bean with a method that creates a query using the
entity manager. Since the method is read-only I don't want to force a new
transaction so I use the attribute type SUPPORTS. I can't get that to work. I
always get the following stack trace:
javax.persistence.Transactio