[jboss-user] [JBoss Seam] - Re: Remove or update entity from a EntityHome.resultList

wise_guybg do-not-reply at jboss.com
Thu Sep 20 11:06:51 EDT 2007


You can override update()/delete() to accept an entity bean.


  |    @Override
  |    public String update(WorkShift workShift)
  |    {
  |       setInstance(workShift);
  |       return super.update();
  |    }
  | 

You will then have:
#{workShiftHome.update(ws)}

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086754#4086754

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086754



More information about the jboss-user mailing list