Top Description Interfaces Classes Enums
[default module]

Package org.hibernate.cfg


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

Interface Summary

Modifier and TypeInterface and Description
public interface
AvailableSettings

Deprecated as a consequence of AvailableSettings being deprecated.
public interface
NamingStrategy

A set of rules for determining the physical column and table names given the information in the mapping document.
public interface
ObjectNameSource

Source for database object names (identifiers).

public interface
public interface
PropertyHolder

Property holder abstract property containers from their direct implementation

public interface
QuerySecondPass

Bind query

public interface
SecondPass

Second pass operation

Class Summary

Modifier and TypeClass and Description
public abstract class
public class
AnnotationBinder

JSR 175 annotation binder which reads the annotations from classes, applies the principles of the EJB3 spec and produces the Hibernate configuration-time metamodel (the classes in the org.hibernate.mapping package)

Some design description I tried to remove any link to annotation except from the 2 first level of method call.

public class
public class
AttributeConverterDefinition

Deprecated (since 5.3) forces the converter instance to be built too early, which precludes the ability to resolve them from CDI, etc. See org.hibernate.boot.model.convert.spi.ConverterDescriptor instead
Externalized representation of an AttributeConverter
public class
public class
public class
CannotForceNonNullableException

Indicates an internal attempt to mark a column as non-nullable (because its part of a PK, etc) but we cannot force that column to be non-nullable.

public class
public class
public abstract class
CollectionSecondPass

Collection second pass

pack-priv class
ColumnsBuilder

Do the initial discovery of columns metadata and apply defaults.

public class
ComponentPropertyHolder

PropertyHolder for composites (Embeddable/Embedded).

public class
Configuration

Represents one approach for bootstrapping Hibernate.

public class
public class
public class
DefaultComponentSafeNamingStrategy

Deprecated as a consequence of EJB3NamingStrategy being deprecated.
public class
DefaultNamingStrategy

Deprecated as a consequence of NamingStrategy being deprecated.
The default NamingStrategy
public class
Ejb3Column

Wrap state of an EJB3 @Column annotation and build the Hibernate column mapping element

public class
Ejb3DiscriminatorColumn

Discriminator column

public class
EJB3DTDEntityResolver

Deprecated as a consequence of DTDEntityResolver being deprecated.
Resolve JPA xsd files locally Hibernate OGM uses this class, consider this some kind of exposed service at the SPI level
public class
Ejb3JoinColumn

Wrap state of an EJB3 @JoinColumn annotation and build the Hibernate column mapping element

public class
EJB3NamingStrategy

Deprecated as a consequence of NamingStrategy being deprecated.
Naming strategy implementing the EJB3 standards
public class
Environment

Deprecated as a consequence of AvailableSettings being deprecated.
Provides access to configuration info passed in Properties objects.
public abstract class
ExternalSessionFactoryConfig

Defines support for various externally configurable SessionFactory(s), for example, JMX or the JCA adapter.

public abstract class
public class
public class
ImprovedNamingStrategy

Deprecated as a consequence of NamingStrategy being deprecated.
An improved naming strategy that prefers embedded underscores to mixed case names
public class
IndexColumn

index column

public class
public class
InheritanceState

Some extra data to the inheritance position of a class.

public class
public class
public class
NotYetImplementedException

Mapping not yet implemented

public class
OneToOneSecondPass

We have to handle OneToOne in a second pass because: -

public class
pack-priv class
PropertyContainer

A helper class to keep the XPropertys of a class ordered by access type.

public class
PropertyHolderBuilder

This factory is here to build a PropertyHolder and prevent .mapping interface adding

public class
PropertyInferredData

Retrieve all inferred data from an annotated element

public class
public class
RecoverableException

Deprecated Was only ever referenced in a single place, in an extremely dubious way.
An exception that indicates a condition where the hope is that subsequent processing will be able to recover from it.
public class
public class
public class
Settings

Settings that affect the behaviour of Hibernate at runtime.
public class
ToOneBinder

Work in progress The goal of this class is to aggregate all operations related to ToOne binding operations

public class
ToOneFkSecondPass

Enable a proper set of the FK columns in respect with the id column order Allow the correct implementation of the default EJB3 values which needs both sides of the association to be resolved

public class
UniqueConstraintHolder

javax.persistence.UniqueConstraint annotations are handled via second pass.

public class
public class

Enum Summary

Modifier and TypeEnum and Description
public enum
AccessType

Enum defining different access strategies for accessing entity values.

public enum
AnnotatedClassType

Type of annotation of a class will give its type

public enum
MetadataSourceType

Enumeration of the types of sources of mapping metadata