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#4008712

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

Reply via email to