either
| @OneToMany(fetch=FetchType.EAGER)
|
or
| UserTransaction trans = (UserTransaction)
ctx.lookup("java:comp/UserTransaction");
| trans.begin();
|
| [...]
| entityManager.createQuery("FROM RolProceso").getResultList();
| [...]
|
| trans.commit();
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008712#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...