wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 3838

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
 
Consider Paul's rocket mass heater.
 
subject: What is shared references in hibernate