MySQL Forums
Forum List  »  Newbie

Re: Relationship or not
Posted by: Peter Brawley
Date: June 09, 2015 10:58AM

"Over time, some of my data has been scrambled and I have a few records in child databases with no parents", so "all worked" is incorrect.

You're not the first developer to discover that the database design on which your app depends is dodgy.

"Edit mode" is a construct your app uses. Before you analyse that issue, though, you need to bulletproof the data design. That will include fixing parent-child disjunctions and putting all updates inside transaction blocks that protect such relationships and maintain concurrency. Once that's done, you may find you no longer need a conwept of "edcit mode".

Options: ReplyQuote


Subject
Written By
Posted
June 08, 2015 08:35PM
Re: Relationship or not
June 09, 2015 10:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.