程序包 org.hibernate.cfg
This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.
-
接口概要 接口 说明 AvailableSettings NamingStrategy 已过时。 ImplicitNamingStrategyandPhysicalNamingStrategyshould be used instead.ObjectNameSource Source for database object names (identifiers).PropertyData PropertyHolder Property holder abstract property containers from their direct implementationQuerySecondPass Bind querySecondPass Second pass operation -
类概要 类 说明 AbstractPropertyHolder No idea.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 theorg.hibernate.mappingpackage)AttributeConversionInfo Describes aConvertconversionAttributeConverterDefinition 已过时。 (since 5.3) forces the converter instance to be built too early, which precludes the ability to resolve them from CDI, etc.BaselineSessionEventsListenerBuilder BinderHelper ClassPropertyHolder CollectionPropertyHolder CollectionSecondPass Collection second passComponentPropertyHolder PropertyHolder for composites (Embeddable/Embedded).Configuration Represents one approach for bootstrapping Hibernate.CopyIdentifierComponentSecondPass CreateKeySecondPass DefaultComponentSafeNamingStrategy DefaultNamingStrategy The default NamingStrategyEjb3Column Wrap state of an EJB3 @Column annotation and build the Hibernate column mapping elementEjb3DiscriminatorColumn Discriminator columnEJB3DTDEntityResolver Resolve JPA xsd files locally Hibernate OGM uses this class, consider this some kind of exposed service at the SPI levelEjb3JoinColumn Wrap state of an EJB3 @JoinColumn annotation and build the Hibernate column mapping elementEJB3NamingStrategy Naming strategy implementing the EJB3 standardsEnvironment Provides access to configuration info passed in Properties objects.ExternalSessionFactoryConfig Defines support for various externally configurable SessionFactory(s), for example,JMXor the JCA adapter.FkSecondPass IdGeneratorResolverSecondPass ImprovedNamingStrategy An improved naming strategy that prefers embedded underscores to mixed case namesIndexColumn index columnIndexOrUniqueKeySecondPass InheritanceState Some extra data to the inheritance position of a class.JoinedSubclassFkSecondPass JPAIndexHolder OneToOneSecondPass We have to handle OneToOne in a second pass because: -PkDrivenByDefaultMapsIdSecondPass PropertyHolderBuilder This factory is here to build a PropertyHolder and prevent .mapping interface addingPropertyInferredData Retrieve all inferred data from an annotated elementPropertyPreloadedData SecondaryTableSecondPass SetSimpleValueTypeSecondPass Settings 已过时。 UseSessionFactoryOptionsinstead.ToOneBinder Work in progress The goal of this class is to aggregate all operations related to ToOne binding operationsToOneFkSecondPass 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 resolvedUniqueConstraintHolder UniqueConstraintannotations are handled via second pass.VerifyFetchProfileReferenceSecondPass WrappedInferredData -
枚举概要 枚举 说明 AccessType Enum defining different access strategies for accessing entity values.AnnotatedClassType Type of annotation of a class will give its typeMetadataSourceType Enumeration of the types of sources of mapping metadata -
异常错误概要 异常错误 说明 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.NotYetImplementedException Mapping not yet implementedRecoverableException 已过时。 Was only ever referenced in a single place, in an extremely dubious way.