Package org.hibernate

This package defines the central Hibernate APIs, beginning with SessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances of Session and StatelessSession, the most important APIs exposing persistence-related operations for entities. The interface SharedSessionContract declares operations that are common to both stateful and stateless sessions.

Playing important supporting roles here, we also have Transaction, Filter, and Cache.

APIs related to querying are now defined under the namespace org.hibernate.query.