Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is meant by saying that "in the scope of a Session"?  RSS feed

 
sriram krishna
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If someone says that, " . . . an object is in the scope of the Session / associated with Session" in hibernate, what does exactly it mean??
Is it something like, creating an object and use that object between opening and closing the Session, like method scope??
Thank you.
 
Vijitha Kumara
Bartender
Posts: 3974
27
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally if you use particular session to persist/retrieve/merge an entity it is in the scope of that particular session instance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!