[jboss-user] [EJB 3.0] - Re: Composite primary keys

te-bachi do-not-reply at jboss.com
Wed Jan 31 04:44:11 EST 2007


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



More information about the jboss-user mailing list