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 
Hibernate
License:
URL:http://www.hibernate.org/
Description:Hibernate is a powerful, high performance object/relational persistence and query service.
Package NameComment
org.hibernate

This package defines the central Hibernate APIs.

org.hibernate.action

This package defines "actions" that are scheduled for asycnchronous execution by the event listeners.

org.hibernate.annotations
org.hibernate.auction
org.hibernate.bytecode

This package defines the API for plugging in bytecode libraries for usage by Hibernate. Hibernate uses these bytecode libraries in three scenarios:

  1. Reflection optimization - to speed up the performance of POJO entity and component conctruction and field/property access
  2. Proxy generation - runtime building of proxies used for deferred loading of lazy entities
  3. Field-level interception - build-time instrumentation of entity classes for the purpose of intercepting field-level access (read/write) for both lazy loading and dirty tracking.

Currently, both CGLIB and Javassist are supported out-of-the-box.

Note that for field-level interception, simply plugging in a new {@link BytecodeProvider} is not enough for Hibernate to be able to recognize new providers. You would additionally need to make appropriate code changes to the {@link org.hibernate.intercept.Helper} class. This is because the detection of these enhanced classes is needed in a static environment (i.e. outside the scope of any {@link org.hibernate.SessionFactory}.

Note that in the current form the ability to specify a different bytecode provider is actually considered a global settings (global to the JVM).

org.hibernate.bytecode.buildtime
org.hibernate.bytecode.cglib
org.hibernate.bytecode.javassist
org.hibernate.bytecode.util
org.hibernate.cache

This package defines APIs/SPIs and implementations for the Hibernate second-level cache.

The legacy (and now deprecated) approach to caching is defined by the {@link org.hibernate.cache.CacheProvider} and {@link org.hibernate.cache.Cache} interfaces as well as the {@link org.hibernate.cache.CacheConcurrencyStrategy} interface along with the various implementations of all these interfaces. In that scheme, a {@link org.hibernate.cache.CacheProvider} defined how to configure and perform lifecycle operations in regards to a particular underlying caching library; it also defined how to build {@link org.hibernate.cache.Cache} instances which in turn defined how to access the "regions" of the underlying cache instance. For entity and collection data cache regions, {@link org.hibernate.cache.CacheConcurrencyStrategy} wrapped access to those cache regions to apply transactional/concurrent access semantics.

The improved approach is based on {@link org.hibernate.cache.RegionFactory}, the various {@link org.hibernate.cache.Region} specializations and the two access strategies contracts ({@link org.hibernate.cache.access.EntityRegionAccessStrategy} and {@link org.hibernate.cache.access.CollectionRegionAccessStrategy}). The general approach here is that {@link org.hibernate.cache.RegionFactory} defined how to configure and perform lifecycle operations in regards to a particular underlying caching library (or libraries). {@link org.hibernate.cache.RegionFactory} also defines how to build specialized {@link org.hibernate.cache.Region} instances based on the type of data we will be storing in that given region. The fact that {@link org.hibernate.cache.RegionFactory} is asked to build specialized regions (as opposed to just general access) is the first improvement over the legacy scheme. The second improvement is the fact that the regions (well the ones like entity and collection regions that are responsible for storing {@link org.hibernate.cache.TransactionalDataRegion transactional} data) are asked to build their own access strategies (see {@link org.hibernate.cache.EntityRegion#buildAccessStrategy} and {@link org.hibernate.cache.CollectionRegion#buildAccessStrategy}).

org.hibernate.cache.access

Defines contracts for transactional and concurrent access to cached {@link org.hibernate.cache.access.EntityRegionAccessStrategy entity} and {@link org.hibernate.cache.access.CollectionRegionAccessStrategy collection} data. Transactions pass in a timestamp indicating transaction start time which is then used to protect against concurrent access (exactly how that occurs is based on the actual access-strategy impl used). Two different implementation patterns are provided for.

  • A transaction-aware cache implementation might be wrapped by a synchronous access strategy, where updates to the cache are written to the cache inside the transaction.
  • A non-transaction-aware cache would be wrapped by an asynchronous access strategy, where items are merely "soft locked" during the transaction and then updated during the "after transaction completion" phase; the soft lock is not an actual lock on the database row - only upon the cached representation of the item.
The asynchronous access strategies are: {@link org.hibernate.cache.access.AccessType.READ_ONLY read-only}, {@link org.hibernate.cache.access.AccessType.READ_WRITE read-write} and {@link org.hibernate.cache.access.AccessType.NONSTRICT_READ_WRITE nonstrict-read-write}. The only synchronous access strategy is {@link org.hibernate.cache.access.AccessType.TRANSACTIONAL transactional}.

Note that, for an asynchronous cache, cache invalidation must be a two step process (lock->unlock or lock->afterUpdate), since this is the only way to guarantee consistency with the database for a nontransactional cache implementation. For a synchronous cache, cache invalidation is a single step process (evict or update). Hence, these contracts ({@link org.hibernate.cache.access.EntityRegionAcessStrategy} and {@link org.hibernate.cache.access.CollectionRegionAccessStrategy}) define a three step process to cater for both models (see the individual contracts for details).

Note that query result caching does not go through an access strategy; those caches are managed directly against the underlying {@link org.hibernate.cache.QueryResultsRegion}.

org.hibernate.cache.entry

This package defines formats for disassembled state kept in the second level cache.

org.hibernate.cache.impl
org.hibernate.cache.impl.bridge
org.hibernate.cache.infinispan
org.hibernate.cache.infinispan.access
org.hibernate.cache.infinispan.collection
org.hibernate.cache.infinispan.entity
org.hibernate.cache.infinispan.impl
org.hibernate.cache.infinispan.query
org.hibernate.cache.infinispan.timestamp
org.hibernate.cache.infinispan.tm
org.hibernate.cache.infinispan.util
org.hibernate.cache.jbc
org.hibernate.cache.jbc.access
org.hibernate.cache.jbc.builder
org.hibernate.cache.jbc.collection
org.hibernate.cache.jbc.entity
org.hibernate.cache.jbc.query
org.hibernate.cache.jbc.timestamp
org.hibernate.cache.jbc.util
org.hibernate.cache.jbc2
org.hibernate.cache.jbc2.access
org.hibernate.cache.jbc2.builder
org.hibernate.cache.jbc2.collection
org.hibernate.cache.jbc2.entity
org.hibernate.cache.jbc2.query
org.hibernate.cache.jbc2.timestamp
org.hibernate.cache.jbc2.util
org.hibernate.cfg

This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.

org.hibernate.cfg.annotations
org.hibernate.cfg.annotations.reflection
org.hibernate.cfg.beanvalidation
org.hibernate.cfg.search
org.hibernate.classic

This package implements backward-compatibility with Hibernate 2.1 APIs now deprecated in Hibernate3.

org.hibernate.collection

This package defines a framework for collection wrappers.

org.hibernate.connection

This package abstracts the mechanism for obtaining a JDBC connection.

A concrete implementation of ConnectionProvider may be selected by specifying hibernate.connection.provider_class.

org.hibernate.context
org.hibernate.criterion

A framework for defining restriction criteria and order criteria.

org.hibernate.dialect

This package abstracts the SQL dialect of the underlying database.

A concrete Dialect may be specifed using hibernate.dialect.

org.hibernate.dialect.function

A framework for defining database-specific SQL functions that are available via the dialect.

org.hibernate.dialect.lock
org.hibernate.dialect.resolver
org.hibernate.ejb
org.hibernate.ejb.connection
org.hibernate.ejb.criteria
org.hibernate.ejb.criteria.basic
org.hibernate.ejb.criteria.components
org.hibernate.ejb.criteria.expression
org.hibernate.ejb.criteria.expression.function
org.hibernate.ejb.criteria.path
org.hibernate.ejb.criteria.paths
org.hibernate.ejb.criteria.predicate
org.hibernate.ejb.criteria.subquery
org.hibernate.ejb.criteria.tuple
org.hibernate.ejb.event
org.hibernate.ejb.instrument
org.hibernate.ejb.metamodel
org.hibernate.ejb.packaging
org.hibernate.ejb.test
org.hibernate.ejb.test.association
org.hibernate.ejb.test.beanvalidation
org.hibernate.ejb.test.cacheable.annotation
org.hibernate.ejb.test.cacheable.cachemodes
org.hibernate.ejb.test.callbacks
org.hibernate.ejb.test.cascade
org.hibernate.ejb.test.connection
org.hibernate.ejb.test.ejb3configuration
org.hibernate.ejb.test.emops
org.hibernate.ejb.test.emops.cascade
org.hibernate.ejb.test.exception
org.hibernate.ejb.test.inheritance
org.hibernate.ejb.test.instrument
org.hibernate.ejb.test.lob
org.hibernate.ejb.test.lock
org.hibernate.ejb.test.mapping
org.hibernate.ejb.test.metadata
org.hibernate.ejb.test.ops
org.hibernate.ejb.test.pack.cfgxmlpar
org.hibernate.ejb.test.pack.defaultpar
org.hibernate.ejb.test.pack.defaultpar_1_0
org.hibernate.ejb.test.pack.excludehbmpar
org.hibernate.ejb.test.pack.explicitpar
org.hibernate.ejb.test.pack.explodedpar
org.hibernate.ejb.test.pack.externaljar
org.hibernate.ejb.test.pack.overridenpar
org.hibernate.ejb.test.pack.spacepar
org.hibernate.ejb.test.pack.various
org.hibernate.ejb.test.pack.war
org.hibernate.ejb.test.packaging
org.hibernate.ejb.test.query
org.hibernate.ejb.test.transaction
org.hibernate.ejb.test.util
org.hibernate.ejb.test.xml
org.hibernate.ejb.test.xml.sequences
org.hibernate.ejb.transaction
org.hibernate.ejb.util
org.hibernate.engine

This package contains classes that are "shared" by other packages, and implementations of some key algorithms.

org.hibernate.engine.jdbc
org.hibernate.engine.jdbc.jdbc3
org.hibernate.engine.jdbc.jdbc4
org.hibernate.engine.loading
org.hibernate.engine.profile
org.hibernate.engine.query
org.hibernate.engine.query.sql
org.hibernate.engine.transaction
org.hibernate.envers
org.hibernate.envers.ant
org.hibernate.envers.configuration
org.hibernate.envers.configuration.metadata
org.hibernate.envers.configuration.metadata.reader
org.hibernate.envers.demo
org.hibernate.envers.entities
org.hibernate.envers.entities.mapper
org.hibernate.envers.entities.mapper.id
org.hibernate.envers.entities.mapper.relation
org.hibernate.envers.entities.mapper.relation.component
org.hibernate.envers.entities.mapper.relation.lazy
org.hibernate.envers.entities.mapper.relation.lazy.initializor
org.hibernate.envers.entities.mapper.relation.lazy.proxy
org.hibernate.envers.entities.mapper.relation.query
org.hibernate.envers.entity
org.hibernate.envers.event
org.hibernate.envers.exception
org.hibernate.envers.query
org.hibernate.envers.query.criteria
org.hibernate.envers.query.impl
org.hibernate.envers.query.order
org.hibernate.envers.query.projection
org.hibernate.envers.query.property
org.hibernate.envers.reader
org.hibernate.envers.revisioninfo
org.hibernate.envers.synchronization
org.hibernate.envers.synchronization.work
org.hibernate.envers.test
org.hibernate.envers.test.entities
org.hibernate.envers.test.entities.collection
org.hibernate.envers.test.entities.components
org.hibernate.envers.test.entities.components.relations
org.hibernate.envers.test.entities.customtype
org.hibernate.envers.test.entities.ids
org.hibernate.envers.test.entities.manytomany
org.hibernate.envers.test.entities.manytomany.biowned
org.hibernate.envers.test.entities.manytomany.sametable
org.hibernate.envers.test.entities.manytomany.unidirectional
org.hibernate.envers.test.entities.manytoone.unidirectional
org.hibernate.envers.test.entities.onetomany
org.hibernate.envers.test.entities.onetomany.detached
org.hibernate.envers.test.entities.onetomany.detached.ids
org.hibernate.envers.test.entities.onetomany.ids
org.hibernate.envers.test.entities.reventity
org.hibernate.envers.test.integration.accesstype
org.hibernate.envers.test.integration.basic
org.hibernate.envers.test.integration.cache
org.hibernate.envers.test.integration.collection
org.hibernate.envers.test.integration.collection.mapkey
org.hibernate.envers.test.integration.components
org.hibernate.envers.test.integration.components.collections
org.hibernate.envers.test.integration.components.relations
org.hibernate.envers.test.integration.customtype
org.hibernate.envers.test.integration.data
org.hibernate.envers.test.integration.flush
org.hibernate.envers.test.integration.hashcode
org.hibernate.envers.test.integration.ids
org.hibernate.envers.test.integration.inheritance.joined
org.hibernate.envers.test.integration.inheritance.joined.childrelation
org.hibernate.envers.test.integration.inheritance.joined.emptychild
org.hibernate.envers.test.integration.inheritance.joined.notownedrelation
org.hibernate.envers.test.integration.inheritance.joined.primarykeyjoin
org.hibernate.envers.test.integration.inheritance.joined.relation
org.hibernate.envers.test.integration.inheritance.joined.relation.unidirectional
org.hibernate.envers.test.integration.inheritance.single
org.hibernate.envers.test.integration.inheritance.single.childrelation
org.hibernate.envers.test.integration.inheritance.single.notownedrelation
org.hibernate.envers.test.integration.inheritance.single.relation
org.hibernate.envers.test.integration.inheritance.tableperclass
org.hibernate.envers.test.integration.inheritance.tableperclass.childrelation
org.hibernate.envers.test.integration.inheritance.tableperclass.notownedrelation
org.hibernate.envers.test.integration.inheritance.tableperclass.relation
org.hibernate.envers.test.integration.interfaces.components
org.hibernate.envers.test.integration.interfaces.hbm.allAudited
org.hibernate.envers.test.integration.interfaces.hbm.allAudited.joined
org.hibernate.envers.test.integration.interfaces.hbm.allAudited.subclass
org.hibernate.envers.test.integration.interfaces.hbm.allAudited.union
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited.joined
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited.subclass
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited.union
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.joined
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.subclass
org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.union
org.hibernate.envers.test.integration.interfaces.relation
org.hibernate.envers.test.integration.manytomany
org.hibernate.envers.test.integration.manytomany.biowned
org.hibernate.envers.test.integration.manytomany.sametable
org.hibernate.envers.test.integration.manytomany.ternary
org.hibernate.envers.test.integration.manytomany.unidirectional
org.hibernate.envers.test.integration.manytoone.unidirectional
org.hibernate.envers.test.integration.naming
org.hibernate.envers.test.integration.naming.ids
org.hibernate.envers.test.integration.notinsertable
org.hibernate.envers.test.integration.notinsertable.manytoone
org.hibernate.envers.test.integration.onetomany
org.hibernate.envers.test.integration.onetomany.detached
org.hibernate.envers.test.integration.onetoone.bidirectional
org.hibernate.envers.test.integration.onetoone.bidirectional.ids
org.hibernate.envers.test.integration.onetoone.unidirectional
org.hibernate.envers.test.integration.primitive
org.hibernate.envers.test.integration.properties
org.hibernate.envers.test.integration.proxy
org.hibernate.envers.test.integration.query
org.hibernate.envers.test.integration.query.ids
org.hibernate.envers.test.integration.reference
org.hibernate.envers.test.integration.reventity
org.hibernate.envers.test.integration.revfordate
org.hibernate.envers.test.integration.sameids
org.hibernate.envers.test.integration.secondary
org.hibernate.envers.test.integration.secondary.ids
org.hibernate.envers.test.integration.serialization
org.hibernate.envers.test.integration.superclass
org.hibernate.envers.test.performance
org.hibernate.envers.test.performance.complex
org.hibernate.envers.test.tools
org.hibernate.envers.test.various
org.hibernate.envers.tools
org.hibernate.envers.tools.graph
org.hibernate.envers.tools.query
org.hibernate.envers.tools.reflection
org.hibernate.event

This package defines an event framework for Hibernate.

org.hibernate.event.def

This package defines a default set of event listeners that implements the default behaviors of Hibernate.

org.hibernate.exception

This package is a fork of Apache commons-lang nestable exceptions.

org.hibernate.hql

This package defines the interface between Hibernate and the HQL query parser implementation (to allow switching between the 2.x and 3.0 HQL parsers).

org.hibernate.hql.ast

An ANTLR-based parser for Hibernate Query Language.

Classes in this package extend the ANTLR-generated parser classes.

org.hibernate.hql.ast.exec
org.hibernate.hql.ast.tree
org.hibernate.hql.ast.util
org.hibernate.hql.classic

This package contains the Hibernate 2.x query parser which is being end-of-lifed.

org.hibernate.id

This package contains internal implementation classes for the main API interfaces.

org.hibernate.id.enhanced
org.hibernate.id.factory
org.hibernate.id.insert
org.hibernate.impl

This package contains implementations of the central Hibernate APIs, especially the Hibernate session.

org.hibernate.intercept

This package implements an interception mechanism for lazy property fetching, based on CGLIB bytecode instrumentation.

org.hibernate.intercept.cglib
org.hibernate.intercept.javassist
org.hibernate.jdbc

This package abstracts the mechanism for dispatching SQL statements to the database, and implements interaction with JDBC.

Concrete implementations of the Batcher interface may be selected by specifying hibernate.jdbc.factory_class.

org.hibernate.jdbc.util
org.hibernate.jmx

This package exposes a Hibernate instance via JMX.

HibernateService allows configuration and management of the Hibernate runtime. StatisticsService reports information that might be useful for performance tuning.

org.hibernate.junit
org.hibernate.junit.functional
org.hibernate.loader

This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.

Subclasses of Loader define a particular query mechanism.

org.hibernate.loader.collection

This package defines collection initializers

org.hibernate.loader.criteria

This package defines the criteria query compiler and loader

org.hibernate.loader.custom

This package defines a framework for custom loaders that accept handwritten SQL

org.hibernate.loader.custom.sql
org.hibernate.loader.entity

This package defines entity loaders

org.hibernate.loader.hql

This package defines a loader for the AST-based query parser

org.hibernate.lob

This package defines dummy and wrapper implementations of java.sql.Clob and java.sql.Blob.

org.hibernate.mapping

This package defines the Hibernate configuration-time metamodel.

org.hibernate.maven
org.hibernate.metadata

This package defines an API for accessing the Hibernate runtime metamodel.

org.hibernate.param
org.hibernate.persister

A persister defines a mapping strategy for a collection or entity.

org.hibernate.persister.collection

This package abstracts the persistence mechanism for collections.

Concrete implementations of CollectionPersister define strategies for persistence of particular collection roles. Collection persisters may optionally implement QueryableCollection if they should be queryable using HQL or loaded using OuterJoinLoader.

org.hibernate.persister.entity

This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel.

Strategies for persisting entities implement the EntityPersister interface. Optionally, they may implement certain additional interfaces that define contracts with various loaders. Concrete implementations in this package define the built-in inheritance mapping strategies.

org.hibernate.pretty

Classes for pretty printing things for exception and log messages.

org.hibernate.property

This package abstracts the notion of a "property" of an entity. Support for JavaBean properties and Map elements is included.

org.hibernate.proxy

This package defines a framework for lazy-initializing entity proxies.

org.hibernate.proxy.dom4j
org.hibernate.proxy.map
org.hibernate.proxy.pojo
org.hibernate.proxy.pojo.cglib
org.hibernate.proxy.pojo.javassist
org.hibernate.secure

Declarative security for CRUD operations on entities.

org.hibernate.sql

This package defines helper classes for rendering SQL fragments and SQL statements.

org.hibernate.sql.ast.origin.hql.domain
org.hibernate.sql.ast.origin.hql.resolve
org.hibernate.sql.ast.origin.ordering
org.hibernate.sql.ordering.antlr
org.hibernate.stat

This package exposes statistics about a running Hibernate instance to the application.

org.hibernate.test
org.hibernate.test.abstractembeddedcomponents.cid
org.hibernate.test.abstractembeddedcomponents.propertyref
org.hibernate.test.annotations
org.hibernate.test.annotations.access
org.hibernate.test.annotations.access.jpa
org.hibernate.test.annotations.access.xml
org.hibernate.test.annotations.any
org.hibernate.test.annotations.array
org.hibernate.test.annotations.backquotes
org.hibernate.test.annotations.beanvalidation
org.hibernate.test.annotations.bytecode
org.hibernate.test.annotations.cascade
org.hibernate.test.annotations.cid
org.hibernate.test.annotations.collectionelement
org.hibernate.test.annotations.collectionelement.deepcollectionelements
org.hibernate.test.annotations.collectionelement.indexedCollection
org.hibernate.test.annotations.configuration
org.hibernate.test.annotations.derivedidentities
org.hibernate.test.annotations.derivedidentities.e1.a
org.hibernate.test.annotations.derivedidentities.e1.b
org.hibernate.test.annotations.derivedidentities.e1.c
org.hibernate.test.annotations.derivedidentities.e2.b
org.hibernate.test.annotations.derivedidentities.e3.b
org.hibernate.test.annotations.derivedidentities.e4.a
org.hibernate.test.annotations.derivedidentities.e4.b
org.hibernate.test.annotations.derivedidentities.e5.b
org.hibernate.test.annotations.derivedidentities.e6.b
org.hibernate.test.annotations.duplicatedgenerator
org.hibernate.test.annotations.embedded
org.hibernate.test.annotations.entity
org.hibernate.test.annotations.entitynonentity
org.hibernate.test.annotations.fetch
org.hibernate.test.annotations.fkcircularity
org.hibernate.test.annotations.generics
org.hibernate.test.annotations.genericsinheritance
org.hibernate.test.annotations.id
org.hibernate.test.annotations.id.entities
org.hibernate.test.annotations.id.generationmappings
org.hibernate.test.annotations.id.sequences
org.hibernate.test.annotations.id.sequences.entities
org.hibernate.test.annotations.idclass
org.hibernate.test.annotations.idclass.xml
org.hibernate.test.annotations.idclassgeneratedvalue
org.hibernate.test.annotations.identifiercollection
org.hibernate.test.annotations.idmanytoone
org.hibernate.test.annotations.idmanytoone.alphabetical
org.hibernate.test.annotations.immutable
org.hibernate.test.annotations.indexcoll
org.hibernate.test.annotations.inheritance
org.hibernate.test.annotations.inheritance.joined
org.hibernate.test.annotations.inheritance.mixed
org.hibernate.test.annotations.inheritance.singletable
org.hibernate.test.annotations.inheritance.union
org.hibernate.test.annotations.interfaces
org.hibernate.test.annotations.join
org.hibernate.test.annotations.loader
org.hibernate.test.annotations.lob
org.hibernate.test.annotations.manytomany
org.hibernate.test.annotations.manytoone
org.hibernate.test.annotations.manytoone.referencedcolumnname
org.hibernate.test.annotations.manytoonewithformula
org.hibernate.test.annotations.namingstrategy
org.hibernate.test.annotations.naturalid
org.hibernate.test.annotations.notfound
org.hibernate.test.annotations.onetomany
org.hibernate.test.annotations.onetoone
org.hibernate.test.annotations.onetoone.hhh4851
org.hibernate.test.annotations.onetoone.primarykey
org.hibernate.test.annotations.override
org.hibernate.test.annotations.persister
org.hibernate.test.annotations.polymorphism
org.hibernate.test.annotations.query
org.hibernate.test.annotations.quote
org.hibernate.test.annotations.quote.resultsetmappings
org.hibernate.test.annotations.referencedcolumnname
org.hibernate.test.annotations.reflection
org.hibernate.test.annotations.strategy
org.hibernate.test.annotations.tableperclass
org.hibernate.test.annotations.target
org.hibernate.test.annotations.tuplizer
org.hibernate.test.annotations.type
org.hibernate.test.annotations.various
org.hibernate.test.annotations.xml.ejb3
org.hibernate.test.annotations.xml.hbm
org.hibernate.test.any
org.hibernate.test.array
org.hibernate.test.ast
org.hibernate.test.batch
org.hibernate.test.batchfetch
org.hibernate.test.bidi
org.hibernate.test.bytecode
org.hibernate.test.bytecode.cglib
org.hibernate.test.bytecode.javassist
org.hibernate.test.cache
org.hibernate.test.cache.ehcache
org.hibernate.test.cache.infinispan
org.hibernate.test.cache.infinispan.access
org.hibernate.test.cache.infinispan.collection
org.hibernate.test.cache.infinispan.entity
org.hibernate.test.cache.infinispan.functional
org.hibernate.test.cache.infinispan.functional.bulk
org.hibernate.test.cache.infinispan.functional.classloader
org.hibernate.test.cache.infinispan.functional.cluster
org.hibernate.test.cache.infinispan.query
org.hibernate.test.cache.infinispan.timestamp
org.hibernate.test.cache.infinispan.tm
org.hibernate.test.cache.infinispan.util
org.hibernate.test.cache.jbc
org.hibernate.test.cache.jbc.access
org.hibernate.test.cache.jbc.builder
org.hibernate.test.cache.jbc.collection
org.hibernate.test.cache.jbc.entity
org.hibernate.test.cache.jbc.functional
org.hibernate.test.cache.jbc.functional.bulk
org.hibernate.test.cache.jbc.functional.classloader
org.hibernate.test.cache.jbc.functional.util
org.hibernate.test.cache.jbc.query
org.hibernate.test.cache.jbc.timestamp
org.hibernate.test.cache.jbc2
org.hibernate.test.cache.jbc2.builder
org.hibernate.test.cache.jbc2.collection
org.hibernate.test.cache.jbc2.entity
org.hibernate.test.cache.jbc2.functional
org.hibernate.test.cache.jbc2.functional.bulk
org.hibernate.test.cache.jbc2.functional.classloader
org.hibernate.test.cache.jbc2.functional.util
org.hibernate.test.cache.jbc2.query
org.hibernate.test.cache.jbc2.timestamp
org.hibernate.test.cache.treecache.optimistic
org.hibernate.test.cache.treecache.pessimistic
org.hibernate.test.cascade
org.hibernate.test.cascade.circle
org.hibernate.test.cfg
org.hibernate.test.cid
org.hibernate.test.collection
org.hibernate.test.collection.backref.map.compkey
org.hibernate.test.collection.bag
org.hibernate.test.collection.idbag
org.hibernate.test.collection.list
org.hibernate.test.collection.map
org.hibernate.test.collection.original
org.hibernate.test.collection.set
org.hibernate.test.component
org.hibernate.test.component.basic
org.hibernate.test.component.cascading.collection
org.hibernate.test.component.cascading.toone
org.hibernate.test.compositeelement
org.hibernate.test.comppropertyref
org.hibernate.test.connections
org.hibernate.test.criteria
org.hibernate.test.cuk
org.hibernate.test.cut
org.hibernate.test.deletetransient
org.hibernate.test.dialect.function
org.hibernate.test.dialect.functional.cache
org.hibernate.test.dialect.unit.lockhint
org.hibernate.test.discriminator
org.hibernate.test.dom4j
org.hibernate.test.dynamic
org.hibernate.test.dynamicentity

Demonstration of different ways to use Hibernate to represent your domain model as a series of JDK dynamic proxies. We map the interfaces and then use one of two approaches to get Hibernate to recognize these proxies as domain entities. Really this is demonstrating various "entity representation" capabilities built in to Hibernate3.

First we use an interceptor-based approach where we use a custom Interceptor implementation for interpret incoming proxies (and resolve them to the correct mappings) and to help Hibernate instantiate these proxy instances. This is the quick-and-dirty approach. It is fully expected that this approach will encounter certain limitations.

Next we explore the notion of a Tuplizer and plug in custom Tuplizers to help achieve the same results. Currently, Tuplizers do not have a chance to influence the resolution of entity-name given a potential entity, so we also use an Interceptor here and supply its getEntityName() impl. This is simply so we do not need to supply the entity name explicitly to the Hibernate Session calls.

org.hibernate.test.dynamicentity.interceptor
org.hibernate.test.dynamicentity.tuplizer
org.hibernate.test.dynamicentity.tuplizer2
org.hibernate.test.ecid
org.hibernate.test.engine.query
org.hibernate.test.entity
org.hibernate.test.entitymode.dom4j.accessors
org.hibernate.test.entitymode.dom4j.basic
org.hibernate.test.entitymode.dom4j.component
org.hibernate.test.entitymode.dom4j.many2one
org.hibernate.test.entitymode.map.basic
org.hibernate.test.entitymode.map.subclass
org.hibernate.test.entitymode.multi
org.hibernate.test.event.collection
org.hibernate.test.event.collection.association
org.hibernate.test.event.collection.association.bidirectional.manytomany
org.hibernate.test.event.collection.association.bidirectional.onetomany
org.hibernate.test.event.collection.association.unidirectional
org.hibernate.test.event.collection.association.unidirectional.manytomany
org.hibernate.test.event.collection.association.unidirectional.onetomany
org.hibernate.test.event.collection.values
org.hibernate.test.events
org.hibernate.test.exception
org.hibernate.test.extendshbm
org.hibernate.test.extralazy
org.hibernate.test.fetchprofiles.join
org.hibernate.test.filter
org.hibernate.test.filter.hql
org.hibernate.test.formulajoin
org.hibernate.test.generated
org.hibernate.test.generatedkeys.identity
org.hibernate.test.generatedkeys.oracle
org.hibernate.test.generatedkeys.select
org.hibernate.test.generatedkeys.seqidentity
org.hibernate.test.hql
org.hibernate.test.id
org.hibernate.test.idbag
org.hibernate.test.idclass
org.hibernate.test.idgen.enhanced
org.hibernate.test.idgen.enhanced.forcedtable
org.hibernate.test.idgen.enhanced.sequence
org.hibernate.test.idgen.enhanced.table
org.hibernate.test.idprops
org.hibernate.test.immutable
org.hibernate.test.insertordering
org.hibernate.test.instrument
org.hibernate.test.instrument.buildtime
org.hibernate.test.instrument.cases
org.hibernate.test.instrument.domain
org.hibernate.test.instrument.runtime
org.hibernate.test.interceptor
org.hibernate.test.interfaceproxy
org.hibernate.test.iterate
org.hibernate.test.join
org.hibernate.test.joinedsubclass
org.hibernate.test.joineduid
org.hibernate.test.joinfetch
org.hibernate.test.jpa

Tests for any JPA-specific behavior for which we need to ensure compliance.

org.hibernate.test.jpa.cascade
org.hibernate.test.jpa.fetch
org.hibernate.test.jpa.lock
org.hibernate.test.jpa.proxy
org.hibernate.test.jpa.ql
org.hibernate.test.jpa.removed
org.hibernate.test.keymanytoone.bidir.component
org.hibernate.test.keymanytoone.bidir.embedded
org.hibernate.test.lazycache
org.hibernate.test.lazyonetoone
org.hibernate.test.legacy
org.hibernate.test.lob
org.hibernate.test.manytomany
org.hibernate.test.manytomany.batchload
org.hibernate.test.manytomany.ordered
org.hibernate.test.manytomanyassociationclass
org.hibernate.test.manytomanyassociationclass.compositeid
org.hibernate.test.manytomanyassociationclass.surrogateid.assigned
org.hibernate.test.manytomanyassociationclass.surrogateid.generated
org.hibernate.test.map
org.hibernate.test.mapcompelem
org.hibernate.test.mapelemformula
org.hibernate.test.mapping
org.hibernate.test.mappingexception
org.hibernate.test.mixed
org.hibernate.test.naturalid
org.hibernate.test.naturalid.immutable
org.hibernate.test.naturalid.mutable
org.hibernate.test.nonflushedchanges
org.hibernate.test.ondelete
org.hibernate.test.onetomany
org.hibernate.test.onetoone.formula
org.hibernate.test.onetoone.joined
org.hibernate.test.onetoone.link
org.hibernate.test.onetoone.nopojo
org.hibernate.test.onetoone.optional
org.hibernate.test.onetoone.singletable
org.hibernate.test.onetooneformula
org.hibernate.test.onetoonelink
org.hibernate.test.ops
org.hibernate.test.optlock
org.hibernate.test.ordered
org.hibernate.test.orphan
org.hibernate.test.orphan.one2one.fk.bidirectional
org.hibernate.test.orphan.one2one.fk.composite
org.hibernate.test.orphan.one2one.fk.reversed.bidirectional
org.hibernate.test.orphan.one2one.fk.reversed.unidirectional
org.hibernate.test.orphan.one2one.pk.bidirectional
org.hibernate.test.orphan.one2one.pk.unidirectional
org.hibernate.test.pagination
org.hibernate.test.perf
org.hibernate.test.pretty
org.hibernate.test.propertyref
org.hibernate.test.propertyref.basic
org.hibernate.test.propertyref.component.complete
org.hibernate.test.propertyref.component.partial
org.hibernate.test.propertyref.inheritence.discrim
org.hibernate.test.propertyref.inheritence.joined
org.hibernate.test.propertyref.inheritence.union
org.hibernate.test.proxy
org.hibernate.test.querycache
org.hibernate.test.readonly
org.hibernate.test.reattachment
org.hibernate.test.rowid
org.hibernate.test.schemaupdate
org.hibernate.test.sorted
org.hibernate.test.sql
org.hibernate.test.sql.check
org.hibernate.test.sql.hand
org.hibernate.test.sql.hand.custom
org.hibernate.test.sql.hand.custom.datadirect.oracle
org.hibernate.test.sql.hand.custom.db2
org.hibernate.test.sql.hand.custom.mysql
org.hibernate.test.sql.hand.custom.oracle
org.hibernate.test.sql.hand.custom.sqlserver
org.hibernate.test.sql.hand.custom.sybase
org.hibernate.test.sql.hand.identity
org.hibernate.test.sql.hand.query
org.hibernate.test.sqlinterceptor
org.hibernate.test.stateless
org.hibernate.test.stateless.fetching
org.hibernate.test.stats
org.hibernate.test.subclassfilter
org.hibernate.test.subclasspropertyref
org.hibernate.test.subselect
org.hibernate.test.subselectfetch
org.hibernate.test.ternary
org.hibernate.test.timestamp
org.hibernate.test.tm Package Information - org.hibernate.test.tm

Defines a simplified JTA TransactionManager and transactional connection pool designed for use in test suite and simple usage scenarios. For example, it is assumed that there is only ever a single transaction active at a given time. Also, the only 'resource' that the transaction tracks is a single JDBC connection.

org.hibernate.test.tm.jbc
org.hibernate.test.tm.jbc2
org.hibernate.test.tool
org.hibernate.test.typedmanytoone
org.hibernate.test.typedonetoone
org.hibernate.test.typeparameters
org.hibernate.test.unconstrained
org.hibernate.test.unidir
org.hibernate.test.unionsubclass
org.hibernate.test.unionsubclass2
org.hibernate.test.usercollection
org.hibernate.test.usercollection.basic
org.hibernate.test.usercollection.parameterized
org.hibernate.test.util
org.hibernate.test.util.dtd
org.hibernate.test.version
org.hibernate.test.version.db
org.hibernate.test.version.sybase
org.hibernate.test.where
org.hibernate.tool.ant
org.hibernate.tool.hbm2ddl

The hbm2ddl tool.

org.hibernate.tool.instrument

The instrument tool for adding field-interception hooks to persistent classes using built-time bytecode processing. Use this tool only if you wish to take advantage of lazy property fetching (the <lazy> mapping element).

org.hibernate.tool.instrument.cglib
org.hibernate.tool.instrument.javassist
org.hibernate.transaction

This package abstracts the underlying transaction mechanism (JTA or JDBC) and provides strategies for obtaining application server TransactionManagers.

org.hibernate.transform

Defines strategies for post-processing criteria query result sets into a form convenient to the application.

org.hibernate.tuple

This package defines a runtime metamodel for entities at the object level and abstracts the differences between the various entity modes. It is unaware of mappings to the database.

(This package is still undergoing maturation and will change over the next few months.)

org.hibernate.tuple.component
org.hibernate.tuple.entity
org.hibernate.tutorial.domain
org.hibernate.tutorial.util
org.hibernate.tutorial.web
org.hibernate.type

A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types.

org.hibernate.usertype

Interfaces for user-defined custom types.

org.hibernate.util

Utility classes.

versioncheck
w___ww__.j___a__v___a__2__s_.___c__o___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.