org.hibernate

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Natural Language Processing
51.Net
52.Parser
53.PDF
54.Portal
55.Profiler
56.Project Management
57.Report
58.RSS RDF
59.Rule Engine
60.Science
61.Scripting
62.Search Engine
63.Security
64.Sevlet Container
65.Source Control
66.Swing Library
67.Template Engine
68.Test Coverage
69.Testing
70.UML
71.Web Crawler
72.Web Framework
73.Web Mail
74.Web Server
75.Web Services
76.Web Services apache cxf 2.2.6
77.Web Services AXIS2
78.Wiki Engine
79.Workflow Engines
80.XML
81.XML UI
Java Source Code / Java Documentation  » Database ORM » hibernate » org.hibernate 
org.hibernate

This package defines the central Hibernate APIs.

Java Source File NameTypeComment
AnnotationException.javaClass Annotation related exception.
AssertionFailure.javaClass Indicates failure of an assertion: a possible bug in Hibernate.
Cache.javaInterface Provides an API for querying/managing the second level cache regions.

CAUTION: None of these methods respect any isolation or transactional semantics associated with the underlying caches.

CacheMode.javaClass Controls how the session interacts with the second-level cache and query cache.
CallbackException.javaClass Should be thrown by persistent objects from Lifecycle or Interceptor callbacks.
ConnectionReleaseMode.javaClass Defines the various policies by which Hibernate might release its underlying JDBC connection.
Criteria.javaInterface Criteria is a simplified API for retrieving entities by composing Criterion objects.
DuplicateMappingException.javaClass Raised whenever a duplicate for a certain type occurs.
EmptyInterceptor.javaClass An interceptor that does nothing.
EntityMode.javaClass Defines the representation modes available for entities.
EntityNameResolver.javaInterface Contract for resolving an entity-name from a given entity instance.
FetchMode.javaClass Represents an association fetching strategy.
Filter.javaInterface Type definition of Filter.
FlushMode.javaClass Represents a flushing strategy.
Hibernate.javaClass
  • Provides access to the full range of Hibernate built-in types.
HibernateException.javaClass The base Throwable type for Hibernate.
InstantiationException.javaClass Thrown if Hibernate can't instantiate an entity or component class at runtime.
Interceptor.javaInterface 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.javaClass 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.javaClass Wraps an SQLException.
LazyInitializationException.javaClass Indicates access to unfetched data outside of a session context.
LockMode.javaClass Instances represent a lock mode for a row of a relational database table.
LockOptions.javaClass Contains locking details (LockMode, Timeout and Scope).
MappingException.javaClass An exception that usually occurs at configuration time, rather than runtime, as a result of something screwy in the O-R mappings.
MappingNotFoundException.javaClass Thrown when a resource for a mapping could not be found.
NonUniqueObjectException.javaClass This exception is thrown when an operation would break session-scoped identity.
NonUniqueResultException.javaClass Thrown when the application calls Query.uniqueResult() and the query returned more than one result.
ObjectDeletedException.javaClass Thrown when the user tries to do something illegal with a deleted object.
ObjectNotFoundException.javaClass Thrown when Session.load() fails to select a row with the given primary key (identifier value).
OptimisticLockException.javaClass Throw when an optimistic locking conflict occurs.
PersistentObjectException.javaClass Thrown when the user passes a persistent instance to a Session method that expects a transient instance.
PessimisticLockException.javaClass Thrown when a pessimistic locking conflict occurs.
PropertyAccessException.javaClass A problem occurred accessing a property of an instance of a persistent class by reflection, or via CGLIB.
PropertyNotFoundException.javaClass Indicates that an expected getter or setter method could not be found on a class.
PropertyValueException.javaClass Thrown when the (illegal) value of a property can not be persisted.
Query.javaInterface An object-oriented representation of a Hibernate query.
QueryException.javaClass A problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.
QueryParameterException.javaClass
ReplicationMode.javaClass Represents a replication strategy.
ScrollableResults.javaInterface A result iterator that allows moving around within the results by arbitrary increments.
ScrollMode.javaClass
Session.javaInterface The main runtime interface between a Java application and Hibernate.
SessionException.javaClass 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.javaInterface The main contract here is the creation of Session instances.
SessionFactoryObserver.javaInterface Allows reaction to basic SessionFactory occurrences.
SQLQuery.javaInterface Allows the user to declare the types and select list injection points of all entities returned by the query.
StaleObjectStateException.javaClass A StaleStateException that carries information about a particular entity instance that was the source of the failure.
StaleStateException.javaClass Thrown when a version number or timestamp check failed, indicating that the Session contained stale data (when using long transactions with versioning).
StatelessSession.javaInterface 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.javaInterface Allows the application to define units of work, while maintaining abstraction from the underlying transaction implementation (eg.
TransactionException.javaClass Indicates that a transaction could not be begun, committed or rolled back.
TransientObjectException.javaClass Thrown when the user passes a transient instance to a Session method that expects a persistent instance.
TypeMismatchException.javaClass
UnknownProfileException.javaClass Used to indicate a request against an unknown profile name.
UnresolvableObjectException.javaClass Thrown when Hibernate could not resolve an object by id, especially when loading an association.
Version.javaClass Information about the Hibernate version.
WrongClassException.javaClass 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.
w_w___w_.j___a_v__a2__s_.co___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.