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 Murach's Java Servlets and JSP this week in the Servlets 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: 3816

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is shared references in hibernate
 
Similar Threads
static object refrences and non static object refrences
serialization..
Doubt in UML distilled by Martin Fowler page 94
JS variable vs Scope variable
object-design question