org.hibernate |
This package defines the central Hibernate APIs.
|
Java Source File Name | Type | Comment |
AssertionFailure.java | Class | Indicates failure of an assertion: a possible bug in Hibernate. |
CacheMode.java | Class | Controls how the session interacts with the second-level
cache and query cache. |
CallbackException.java | Class | Should be thrown by persistent objects from Lifecycle
or Interceptor callbacks. |
ConnectionReleaseMode.java | Class | Defines the various policies by which Hibernate might release its underlying
JDBC connection. |
Criteria.java | Interface | Criteria is a simplified API for retrieving entities
by composing Criterion objects. |
DuplicateMappingException.java | Class | Raised whenever a duplicate for a certain type occurs. |
EmptyInterceptor.java | Class | An interceptor that does nothing. |
EntityMode.java | Class | Defines the representation modes available for entities. |
FetchMode.java | Class | Represents an association fetching strategy. |
Filter.java | Interface | Type definition of Filter. |
FlushMode.java | Class | Represents a flushing strategy. |
Hibernate.java | Class |
- Provides access to the full range of Hibernate built-in types.
|
HibernateException.java | Class | Any exception that occurs inside the persistence layer
or JDBC driver. |
InstantiationException.java | Class | Thrown if Hibernate can't instantiate an entity or component
class at runtime. |
Interceptor.java | Interface | Allows user code to inspect and/or change property values.
Inspection occurs before property values are written and after they are read
from the database.
There might be a single instance of Interceptor for a SessionFactory, or a new instance
might be specified for each Session. |
InvalidMappingException.java | Class | Thrown when a mapping is found to be invalid.
Similar to MappingException, but this contains more info about the path and type of mapping (e.g. |
JDBCException.java | Class | Wraps an SQLException. |
LazyInitializationException.java | Class | Indicates access to unfetched data outside of a session context. |
LockMode.java | Class | Instances represent a lock mode for a row of a relational
database table. |
MappingException.java | Class | An exception that usually occurs at configuration time, rather
than runtime, as a result of something screwy in the O-R mappings. |
MappingNotFoundException.java | Class | Thrown when a resource for a mapping could not be found. |
NonUniqueObjectException.java | Class | This exception is thrown when an operation would
break session-scoped identity. |
NonUniqueResultException.java | Class | Thrown when the application calls Query.uniqueResult() and
the query returned more than one result. |
ObjectDeletedException.java | Class | Thrown when the user tries to do something illegal with a deleted
object. |
ObjectNotFoundException.java | Class | Thrown when Session.load() fails to select a row with
the given primary key (identifier value). |
PersistentObjectException.java | Class | Thrown when the user passes a persistent instance to a Session
method that expects a transient instance. |
PropertyAccessException.java | Class | A problem occurred accessing a property of an instance of a
persistent class by reflection, or via CGLIB. |
PropertyNotFoundException.java | Class | Indicates that an expected getter or setter method could not be
found on a class. |
PropertyValueException.java | Class | Thrown when the (illegal) value of a property can not be persisted. |
Query.java | Interface | An object-oriented representation of a Hibernate query. |
QueryException.java | Class | A problem occurred translating a Hibernate query to SQL
due to invalid query syntax, etc. |
QueryParameterException.java | Class | |
ReplicationMode.java | Class | Represents a replication strategy. |
ScrollableResults.java | Interface | A result iterator that allows moving around within the results
by arbitrary increments. |
ScrollMode.java | Class | |
Session.java | Interface | The main runtime interface between a Java application and Hibernate. |
SessionException.java | Class | Thrown when the user calls a method of a
Session that is in an
inappropropriate state for the given call (for example, the the session
is closed or disconnected). |
SessionFactory.java | Interface | Creates Sessions. |
SQLQuery.java | Interface | Allows the user to declare the types and select list injection
points of all entities returned by the query. |
StaleObjectStateException.java | Class | A StaleStateException that carries information
about a particular entity instance that was the source
of the failure. |
StaleStateException.java | Class | Thrown when a version number or timestamp check failed, indicating that the
Session contained stale data (when using long transactions
with versioning). |
StatelessSession.java | Interface | A command-oriented API for performing bulk operations
against a database.
A stateless session does not implement a first-level cache nor
interact with any second-level cache, nor does it implement
transactional write-behind or automatic dirty checking, nor do
operations cascade to associated instances. |
Transaction.java | Interface | Allows the application to define units of work, while
maintaining abstraction from the underlying transaction
implementation (eg. |
TransactionException.java | Class | Indicates that a transaction could not be begun, committed
or rolled back. |
TransientObjectException.java | Class | Thrown when the user passes a transient instance to a Session
method that expects a persistent instance. |
TypeMismatchException.java | Class | |
UnresolvableObjectException.java | Class | Thrown when Hibernate could not resolve an object by id, especially when
loading an association. |
WrongClassException.java | Class | Thrown when Session.load() selects a row with
the given primary key (identifier value) but the row's
discriminator value specifies a subclass that is not
assignable to the class requested by the user. |