This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes What is shared references in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "What is shared references in hibernate" Watch "What is shared references in hibernate" New topic
Author

What is shared references in hibernate

Rao Potla
Greenhorn

Joined: Jan 14, 2012
Posts: 11
what is meant by shared references in hibernate? and what does "components are stored as values and not as shared references" means?
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3887
    
    5

Welcome to the CodeRanch!,
what is meant by shared references in hibernate

It is possible for two objects to have reference to a same object which is a member of those objects.
what does "components are stored as values and not as shared references" means?

It means when you model components they use their objects to refer to a member object which *ideally* would be equal in content. Read more about them here.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Rao Potla
Greenhorn

Joined: Jan 14, 2012
Posts: 11
thank you very much , Its really helpful
 
wood burning stoves
 
subject: What is shared references in hibernate
 
It's not a secret anymore!