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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to