Suppose you have to delete an order item from a order and you wana to do it by using acces bean then use the following code
OrderItemAccessBean orderItemAb = new OrderItemAccessBean();
orderItemAb.setInt_Key(orderItemId);
orderItemAb.getEJBRef().remove();
OrderItemAccessBean orderItemAb = new OrderItemAccessBean();
orderItemAb.setInt_Key(orderItemId);
orderItemAb.getEJBRef().remove();
No comments:
Post a Comment