Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

entity beans and updating multiple table

 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Does any body know how can we update the fields in a three tables related by foreign key relation ships using CMP beans ..
Thanks,
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12012
216
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rethna,
Are you trying to model this in your sequence diagrams, or are you asking for something you need to do in real life?
Regards, Andrew
 
rethna pillai
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am looking at a real life scanerio
 
ravi appala
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did not deal with cmp much,but my understanding you need toplink like software to have compilcated one to many or many-to-many relationships.
BTW moderator may expect you to post only SCEA related discussions

Thanks,
ravi
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't this what CMR( Container Managed Relationships ) is all about? Read this tutorial if you haven't heard about CMRs..
Just as a side note I would like to say the promise of CMR is way ahead of available vendor support and implementation. Not many app servers support this as of today and I haven't seen a single implementation that uses it for both read and update. The most common use of CMR that I have seen( being demonstrated) is to read coarse grained EJBs.
As someone pointed out, if you want to use it now, perhaps BMP is your best bet!
[ November 06, 2003: Message edited by: Ajith Kallambella ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic