Top Description Interfaces Classes
[default module]

Package 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.

Interface Summary

Modifier and TypeInterface and Description
public interface
DiscriminatorMetadata

Provides the information needed to properly handle type discrimination in HQL queries, either by 'something.class' or 'type(something)' references.

public interface
EntityPersister

Implementors define mapping and persistence logic for a particular strategy of entity mapping.

public interface
Joinable

Anything that can be loaded by outer join - namely persisters for classes or collections.

public interface
Loadable

Implemented by a EntityPersister that may be loaded using Loader.

public interface
Lockable

Contract for things that can be locked via a org.hibernate.dialect.lock.LockingStrategy.

public interface
OuterJoinLoadable

A EntityPersister that may be loaded by outer join using the OuterJoinLoader hierarchy and may be an element of a one-to-many association.

public interface
PropertyMapping

Abstraction of all mappings that define properties: entities, collection elements.

public interface
Queryable

Extends the generic EntityPersister contract to add operations required by the Hibernate Query Language

public interface
SQLLoadable

A class persister that supports queries expressed in the platform native SQL dialect

public interface

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractEntityPersister

Basic functionality for persisting an entity via JDBC through either generated or custom SQL

public abstract class
AbstractPropertyMapping

Basic implementation of the PropertyMapping contract.

public class
public class
DiscriminatorType

TODO : javadoc

public class
JoinedSubclassEntityPersister

An EntityPersister implementing the normalized "table-per-subclass" mapping strategy

public class
NamedQueryLoader

Not really a Loader, just a wrapper around a named query.

public class
SingleTableEntityPersister

The default implementation of the EntityPersister interface.

public class
UnionSubclassEntityPersister

Implementation of the "table-per-concrete-class" or "roll-down" mapping strategy for an entity and its inheritence hierarchy.