ComponentTest doesn't support starting conversations. Try using a FacesRequest
instead.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116844#4116844
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116844
__
/*
| * CategoryActionBean.java
| *
| * Created on July 11, 2007, 3:45 PM
| *
| * To change this template, choose Tools | Template Manager
| * and open the template in the editor.
| */
|
| package datassist.payroll.action;
|
|
| import datassist.payroll.entity.Child
Post the categoryAction component
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116818#4116818
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116818
___
jboss-user mailing li
well, indeed.Here is the complete asynchronous method :
@Stateless
| 36 @Name("importRunAction")
| 37 public class ImportRunAction implements ImportRunActionInterface {
| 38
| 39 @In
| 40 EntityManager entityManager;
| 41
| 42 public ImportRunAction()
You omitted so much code we can't see where datasource is created.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098403#4098403
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098403
Here is the class with some code removed as I think it's not relevant.
When entityManager.merge is uncommented, the above exception ocurs.
@Stateless
| @Name("importRunAction")
| public class ImportRunAction implements ImportRunActionInterface {
|
| @In
| EntityManager entityMa