接口的使用
org.hibernate.engine.spi.Mapping
-
使用Mapping的程序包 程序包 说明 org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.internal org.hibernate.boot.spi org.hibernate.dialect.function A framework for defining database-specific SQL functions that are available via the dialect.org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.spi org.hibernate.id This package contains internal implementation classes for the main API interfaces.org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs.org.hibernate.mapping This package defines the Hibernate configuration-time metamodel.org.hibernate.persister.collection This package abstracts the persistence mechanism for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel.org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. -
-
org.hibernate.boot中Mapping的使用
org.hibernate.boot中Mapping的子接口 修饰符和类型 接口 说明 interfaceMetadataRepresents the ORM model as determined from all provided mapping sources. -
org.hibernate.boot.internal中Mapping的使用
实现Mapping的org.hibernate.boot.internal中的类 修饰符和类型 类 说明 classInFlightMetadataCollectorImplThe implementation of the in-flight Metadata collector contract.classMetadataImplContainer for configuration data collected during binding the metamodel. -
org.hibernate.boot.spi中Mapping的使用
org.hibernate.boot.spi中Mapping的子接口 修饰符和类型 接口 说明 interfaceInFlightMetadataCollectorAn in-flight representation of Metadata while Metadata is being built.interfaceMetadataImplementorThe SPI-level Metadata contract.实现Mapping的org.hibernate.boot.spi中的类 修饰符和类型 类 说明 classAbstractDelegatingMetadataConvenience base class for custom implementors ofMetadataImplementorusing delegation. -
org.hibernate.dialect.function中Mapping的使用
参数类型为Mapping的org.hibernate.dialect.function中的方法 修饰符和类型 方法 说明 protected intStandardAnsiSqlAggregationFunctions.SumFunction. determineJdbcTypeCode(Type type, Mapping mapping)TypeAbstractAnsiTrimEmulationFunction. getReturnType(Type argumentType, Mapping mapping)TypeCastFunction. getReturnType(Type columnType, Mapping mapping)TypeCharIndexFunction. getReturnType(Type columnType, Mapping mapping)TypeConvertFunction. getReturnType(Type firstArgumentType, Mapping mapping)TypeDerbyConcatFunction. getReturnType(Type argumentType, Mapping mapping)The return type of the function.TypeNoArgSQLFunction. getReturnType(Type argumentType, Mapping mapping)TypeNvlFunction. getReturnType(Type argumentType, Mapping mapping)TypePositionSubstringFunction. getReturnType(Type firstArgumentType, Mapping mapping)TypeSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)The return type of the function.TypeSQLFunctionTemplate. getReturnType(Type argumentType, Mapping mapping)TypeStandardAnsiSqlAggregationFunctions.SumFunction. getReturnType(Type firstArgumentType, Mapping mapping)TypeStandardSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)TypeTrimFunctionTemplate. getReturnType(Type firstArgument, Mapping mapping)TypeVarArgsSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping) -
org.hibernate.engine.internal中Mapping的使用
参数类型为Mapping的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 static String[]JoinHelper. getAliasedLHSColumnNames(AssociationType associationType, String columnQualifier, int propertyIndex, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the joinstatic String[]JoinHelper. getAliasedLHSColumnNames(AssociationType type, String alias, int property, OuterJoinLoadable lhsPersister, Mapping mapping)Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the joinstatic String[]JoinHelper. getLHSColumnNames(AssociationType type, int property, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)Get the columns of the owning entity which are to be used in the joinstatic String[]JoinHelper. getLHSColumnNames(AssociationType type, int property, OuterJoinLoadable lhsPersister, Mapping mapping)Get the unqualified names of the columns of the owning entity which are to be used in the join. -
org.hibernate.engine.spi中Mapping的使用
org.hibernate.engine.spi中Mapping的子接口 修饰符和类型 接口 说明 interfaceSessionFactoryImplementorDefines the internal contract between the SessionFactory and other parts of Hibernate such as implementors of Type.实现Mapping的org.hibernate.engine.spi中的类 修饰符和类型 类 说明 classSessionFactoryDelegatingImplBase delegating implementation of the SessionFactory and SessionFactoryImplementor contracts for intended for easier implementation of SessionFactory. -
org.hibernate.id中Mapping的使用
参数类型为Mapping的org.hibernate.id中的方法 修饰符和类型 方法 说明 booleanExportableColumn.ValueImpl. isValid(Mapping mapping) -
org.hibernate.internal中Mapping的使用
实现Mapping的org.hibernate.internal中的类 修饰符和类型 类 说明 classSessionFactoryImplConcrete implementation of the SessionFactory interface. -
org.hibernate.mapping中Mapping的使用
参数类型为Mapping的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 StringColumn. getSqlType(Dialect dialect, Mapping mapping)intColumn. getSqlTypeCode(Mapping mapping)booleanCollection. isValid(Mapping mapping)booleanOneToMany. isValid(Mapping mapping)booleanProperty. isValid(Mapping mapping)booleanSimpleValue. isValid(Mapping mapping)booleanToOne. isValid(Mapping mapping)booleanValue. isValid(Mapping mapping)StringConstraint. sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema)StringIndex. sqlCreateString(Dialect dialect, Mapping mapping, String defaultCatalog, String defaultSchema)StringRelationalModel. sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema)已过时。StringTable. sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema)StringUniqueKey. sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema)voidCollection. validate(Mapping mapping)voidIdentifierCollection. validate(Mapping mapping)voidIndexedCollection. validate(Mapping mapping)voidJoinedSubclass. validate(Mapping mapping)voidPersistentClass. validate(Mapping mapping)voidRootClass. validate(Mapping mapping)voidSet. validate(Mapping mapping)voidSingleTableSubclass. validate(Mapping mapping)voidUnionSubclass. validate(Mapping mapping)voidTable. validateColumns(Dialect dialect, Mapping mapping, TableMetadata tableInfo) -
org.hibernate.persister.collection中Mapping的使用
参数类型为Mapping的org.hibernate.persister.collection中的构造器 构造器 说明 CompositeElementPropertyMapping(String[] elementColumns, String[] elementColumnReaders, String[] elementColumnReaderTemplates, String[] elementFormulaTemplates, CompositeType compositeType, Mapping factory) -
org.hibernate.persister.entity中Mapping的使用
参数类型为Mapping的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected voidAbstractPropertyMapping. addPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)Size[]DiscriminatorType. defaultSizes(Mapping mapping)Size[]DiscriminatorType. dictatedSizes(Mapping mapping)protected StringUnionSubclassEntityPersister. generateSubquery(PersistentClass model, Mapping mapping)intDiscriminatorType. getColumnSpan(Mapping mapping)protected voidAbstractPropertyMapping. initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractPropertyMapping. initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory)protected voidAbstractEntityPersister. initPropertyPaths(Mapping mapping)protected voidAbstractPropertyMapping. initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)protected voidAbstractEntityPersister. postConstruct(Mapping mapping)Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their constructor processing.int[]DiscriminatorType. sqlTypes(Mapping mapping)boolean[]DiscriminatorType. toColumnNullness(Object value, Mapping mapping) -
org.hibernate.type中Mapping的使用
参数类型为Mapping的org.hibernate.type中的方法 修饰符和类型 方法 说明 Size[]AbstractStandardBasicType. defaultSizes(Mapping mapping)Size[]AnyType. defaultSizes(Mapping mapping)Size[]CollectionType. defaultSizes(Mapping mapping)Size[]ComponentType. defaultSizes(Mapping mapping)Size[]CompositeCustomType. defaultSizes(Mapping mapping)Size[]CustomType. defaultSizes(Mapping mapping)Size[]ManyToOneType. defaultSizes(Mapping mapping)Size[]MetaType. defaultSizes(Mapping mapping)Size[]OneToOneType. defaultSizes(Mapping mapping)Size[]SpecialOneToOneType. defaultSizes(Mapping mapping)Size[]Type. defaultSizes(Mapping mapping)Defines the column sizes to use according to this type if the user did not explicitly say (and if noType.dictatedSizes(org.hibernate.engine.spi.Mapping)were given).Size[]AbstractStandardBasicType. dictatedSizes(Mapping mapping)Size[]AnyType. dictatedSizes(Mapping mapping)Size[]CollectionType. dictatedSizes(Mapping mapping)Size[]ComponentType. dictatedSizes(Mapping mapping)Size[]CompositeCustomType. dictatedSizes(Mapping mapping)Size[]CustomType. dictatedSizes(Mapping mapping)Size[]ManyToOneType. dictatedSizes(Mapping mapping)Size[]MetaType. dictatedSizes(Mapping mapping)Size[]OneToOneType. dictatedSizes(Mapping mapping)Size[]SpecialOneToOneType. dictatedSizes(Mapping mapping)Size[]Type. dictatedSizes(Mapping mapping)Return the column sizes dictated by this type.ObjectCustomType. fromXMLString(String xml, Mapping factory)ObjectMetaType. fromXMLString(String xml, Mapping factory)intAbstractStandardBasicType. getColumnSpan(Mapping mapping)intAnyType. getColumnSpan(Mapping session)intCollectionType. getColumnSpan(Mapping session)intComponentType. getColumnSpan(Mapping mapping)intCompositeCustomType. getColumnSpan(Mapping mapping)intCustomType. getColumnSpan(Mapping session)intManyToOneType. getColumnSpan(Mapping mapping)intMetaType. getColumnSpan(Mapping mapping)intOneToOneType. getColumnSpan(Mapping session)intSpecialOneToOneType. getColumnSpan(Mapping mapping)intType. getColumnSpan(Mapping mapping)How many columns are used to persist this type.StringEntityType. getIdentifierOrUniqueKeyPropertyName(Mapping factory)The name of the property on the associated entity to which our FK refersTypeEntityType. getIdentifierOrUniqueKeyType(Mapping factory)Determine the type of either (1) the identifier if we reference the associated entity's PK or (2) the unique key to which we refer (i.e.protected TypeEntityType. requireIdentifierOrUniqueKeyType(Mapping mapping)int[]AbstractStandardBasicType. sqlTypes(Mapping mapping)int[]AnyType. sqlTypes(Mapping mapping)int[]CollectionType. sqlTypes(Mapping session)int[]ComponentType. sqlTypes(Mapping mapping)int[]CompositeCustomType. sqlTypes(Mapping mapping)int[]CustomType. sqlTypes(Mapping pi)int[]ManyToOneType. sqlTypes(Mapping mapping)int[]MetaType. sqlTypes(Mapping mapping)int[]OneToOneType. sqlTypes(Mapping session)int[]SpecialOneToOneType. sqlTypes(Mapping mapping)int[]Type. sqlTypes(Mapping mapping)Return the JDBC types codes (perTypes) for the columns mapped by this type.boolean[]AbstractStandardBasicType. toColumnNullness(Object value, Mapping mapping)boolean[]AnyType. toColumnNullness(Object value, Mapping mapping)boolean[]CollectionType. toColumnNullness(Object value, Mapping mapping)boolean[]ComponentType. toColumnNullness(Object value, Mapping mapping)boolean[]CompositeCustomType. toColumnNullness(Object value, Mapping mapping)boolean[]CustomType. toColumnNullness(Object value, Mapping mapping)boolean[]ManyToOneType. toColumnNullness(Object value, Mapping mapping)boolean[]MetaType. toColumnNullness(Object value, Mapping mapping)boolean[]OneToOneType. toColumnNullness(Object value, Mapping mapping)boolean[]Type. toColumnNullness(Object value, Mapping mapping)Given an instance of the type, return an array of boolean, indicating which mapped columns would be null.
-