Package org.hibernate.cfg
package org.hibernate.cfg
This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.
-
ClassDescriptionEnum defining deifferent access strategies for accessing entity values.Type of annotation of a class will give its typeJSR 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.mappingpackage)Deprecated.Collection second passComponent implementation of property holderAn instance of Configuration allows the application to specify properties and mapping documents to be used when creating a SessionFactory.The default NamingStrategyWrap state of an EJB3 @Column annotation and build the Hibernate column mapping elementDiscriminator columnResolve JPA xsd files locally Hibernate OGM uses this class, consider this some kind of exposed service at the SPI levelWrap state of an EJB3 @JoinColumn annotation and build the Hibernate column mapping elementNaming strategy implementing the EJB3 standardsProvides access to configuration info passed in Properties objects.Deprecated.All functionality has been moved up toMappingsRepresents a mapping queued for delayed processing to await processing of an extends entity upon which it depends.Walks an XML mapping document and produces the Hibernate configuration-time metamodel (the classes in the mapping package)An improved naming strategy that prefers embedded underscores to mixed case namesindex columnSome extra data to the inheritance position of a class.A collection of mappings from classes and collections to relational database tables.Represents a property-ref mapping.Enumeration of the types of sources of mapping metadataA set of rules for determining the physical column and table names given the information in the mapping document.Mapping not yet implementedProvides centralized normalization of how database object names are handled.Helper contract for dealing withNamingStrategyin different situations.Source for database object names (identifiers).We have to handle OneToOne in a second pass because: -Property holder abstract property containers from their direct implementationThis factory is here ot build a PropertyHolder and prevent .mapping interface addingRetrieve all inferred data from an annnoted elementBind queryShould neven be exposed to the client An exception that wrap an underlying exception whith the hope subsequent processing will recover from it.Second pass operationSettings that affect the behaviour of Hibernate at runtime.Reads configuration properties and builds aSettingsinstance.Work in progress The goal of this class is to aggregate all operations related to ToOne binding operationsEnable 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 resolvedUniqueConstraintannotations are handled via second pass.
Configuration