Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Hibernate (framework)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===org.hibernate.Session interface=== The {{code|org.hibernate.Session}} interface<ref>{{Cite web|url=https://docs.jboss.org/hibernate/stable/core/javadocs/org/hibernate/Session.html|title=Session (Hibernate JavaDocs)|website=docs.jboss.org}}</ref> represents a Hibernate session, i.e., the main point of the manipulation performed on the database entities. The latter activities include (among the other things) managing the persistence state ([[Transient (computer programming)|transient]], [[Java Persistence API|persisted]], detached{{Clarify|date=June 2011}}) of the objects, fetching the persisted ones from the database and the management of the transaction demarcation{{Clarify|date=June 2011}}. A {{code|Session}} is intended to last as long as the logical transaction on the database. Due to the latter feature, {{code|Session}} implementations are not expected to be thread safe nor to be used by multiple clients.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)