This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

EJB 2.0

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone give me rough idea about Cascading delete? How it overcomes the problems faced in EJB1.1?
thanks,
shivani
 
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sivani,
Well, i am hearing about this cascading delete for the first time, would you mind telling me what this is and any resources for finding information on this?
thanks,
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the so called "cascade delete" means that when you delete an entity bean (or a record in a database table) a cascade delete will delete other entity beans according to the relationship between these beans. In this way, the referencial integrity reserved in the database. For example, in a shoping card application, orders are assembled of line items. Deleting an order should also deletes all line items. Line items shouldn't be around if their parent order is gone. Here order and line item have a composition relationship. If they are in an aggregation relationship, we do not need to perform the cascade deleting.
hope this help
Regards,
Ruilin
[ February 06, 2002: Message edited by: Rulin Yang ]
 
shivani anand
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you go to folowing site you will get some idea about cascading delete
http://www.etindia.com/changesinCMP.htm#Changes%20in%20CMP
I think Rulin is correct. I just wanted to know how it really works. If you know more about it let me know.
thanks
shivani
 
Ram Dhan Yadav K
Ranch Hand
Posts: 321
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Sivani,
thanks for the wonderful link!
 
    Bookmark Topic Watch Topic
  • New Topic