• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about composite entity

 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

Given: product.getOrder().getPayment(),

where product is a composite entity containing order and payment, i.e. product->order->payment, and product, order, and payment are all entity beans.

While an update method on payment is called, could the order or product be modified?

Thanks in advance.

-Saha
 
Saha Kumar
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

In general if there are 3 entity beans: Product, Order and Payment where each is connected by a foreign key, then can Product and/or Order be updated while Payment is being updated?

Thanks in advance.

-Saha
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!