[jboss-user] [EJB 3.0] - Re: EJb 3.0 primary key loose ?
ojacobson
do-not-reply at jboss.com
Mon Oct 16 20:04:56 EDT 2006
Try this:
in the CustomerFacade:
public Orders save(Orders orders) {
| em.persist(orders);
| return orders;
| }
Then your persist code looks like
// make persistent
| customer = customersFacade.save(customer);
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978668#3978668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978668
More information about the jboss-user
mailing list