World's most popular travel blog for travel bloggers.

Write short note on followings (minimum in 300 words)

, , No Comments
Write short note on followings (minimum in 300 words)
i)  One –way association and two-way association 
ii)  Issues in Concurrency Control 

One way association would be where the two objects have a one-many relationship (for instance an author object and a collection of book title objects). Two way association is where properties of each individual object combine to reference something unique (that neither object can reference on its own). A street number object and a road object. With them both, you get a house address.
To make this confusing, the analogy also works for an author object and book title object. There may be many authors with the same name, many books with the same name, but there is generally only one unique combination of author and book (most authors don't write multiple things and call them all exactly the same thing).


Post a Comment

Let us know your responses and feedback