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) managingmanagsession theis persistenceintended stateto ([[Transientlast (computeras programming)|transient]],long [[Javaas Persistencethe API|persisted]],logical detached{{Clarify|date=Junetransaction 2011}})on ofthe database. Due to the objectslatter feature, fetchingSession theimplementations persistedare onesnot fromexpected theto databasebe andthreadsafe thenor managementto ofbe theused transactionby demarcation{{Clarify|date=Junemultiple 2011}}clients.
A session is intended to last as long as the logical transaction on the database. Due to the latter feature, Session implementations are not expected to be threadsafe nor to be used by multiple clients.