类的使用
org.hibernate.MappingException
-
使用MappingException的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.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.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.org.hibernate.cfg.annotations org.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.dialect.identity org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.hql.internal org.hibernate.hql.internal.ast An ANTLR-based parser for Hibernate Query Language.org.hibernate.hql.internal.ast.util org.hibernate.hql.internal.classic This package contains the Hibernate 2.x query parser which is being end-of-lifed.org.hibernate.hql.spi org.hibernate.id This package contains internal implementation classes for the main API interfaces.org.hibernate.id.enhanced Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified configurationorg.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs.org.hibernate.internal.util Internal utility classes.org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.org.hibernate.loader.collection This package defines collection initializersorg.hibernate.loader.collection.plan org.hibernate.loader.criteria This package defines the criteria query compiler and loaderorg.hibernate.loader.entity This package defines entity loadersorg.hibernate.mapping This package defines the Hibernate configuration-time metamodel.org.hibernate.metamodel.internal 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.procedure org.hibernate.query org.hibernate.query.internal org.hibernate.query.spi org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. -
-
org.hibernate中MappingException的使用
org.hibernate中MappingException的子类 修饰符和类型 类 说明 classAnnotationExceptionAnnotation related exception.classDuplicateMappingExceptionRaised whenever a duplicate for a certain type occurs.classInvalidMappingExceptionThrown when a mapping is found to be invalid.classMappingNotFoundException已过时。UseMappingNotFoundExceptioninstead.classPropertyNotFoundExceptionIndicates that an expected getter or setter method could not be found on a class.classUnknownEntityTypeExceptionIndicates an attempt was made to refer to an unknown entity name/class.抛出MappingException的org.hibernate中的方法 修饰符和类型 方法 说明 SQLQuery<T>SQLQuery. addSynchronizedEntityClass(Class entityClass)已过时。SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityClass(Class entityClass)Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.SQLQuery<T>SQLQuery. addSynchronizedEntityName(String entityName)已过时。SynchronizeableQuery<T>SynchronizeableQuery. addSynchronizedEntityName(String entityName)Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking. -
org.hibernate.boot中MappingException的使用
org.hibernate.boot中MappingException的子类 修饰符和类型 类 说明 classInvalidMappingExceptionclassMappingExceptionIndicates a problem parsing a mapping document.classMappingNotFoundExceptionclassUnsupportedOrmXsdVersionException -
org.hibernate.boot.internal中MappingException的使用
抛出MappingException的org.hibernate.boot.internal中的方法 修饰符和类型 方法 说明 StringInFlightMetadataCollectorImpl. getIdentifierPropertyName(String entityName)StringMetadataImpl. getIdentifierPropertyName(String entityName)TypeInFlightMetadataCollectorImpl. getIdentifierType(String entityName)TypeMetadataImpl. getIdentifierType(String entityName)StringInFlightMetadataCollectorImpl. getLogicalColumnName(Table table, String physicalName)StringInFlightMetadataCollectorImpl. getLogicalColumnName(Table table, Identifier physicalName)StringInFlightMetadataCollectorImpl. getPhysicalColumnName(Table table, String logicalName)StringInFlightMetadataCollectorImpl. getPhysicalColumnName(Table table, Identifier logicalName)TypeInFlightMetadataCollectorImpl. getReferencedPropertyType(String entityName, String propertyName)TypeMetadataImpl. getReferencedPropertyType(String entityName, String propertyName)protected voidInFlightMetadataCollectorImpl. secondPassCompileForeignKeys(Table table, Set<ForeignKey> done, MetadataBuildingContext buildingContext)voidInFlightMetadataCollectorImpl. validate()voidMetadataImpl. validate() -
org.hibernate.boot.spi中MappingException的使用
抛出MappingException的org.hibernate.boot.spi中的方法 修饰符和类型 方法 说明 StringAbstractDelegatingMetadata. getIdentifierPropertyName(String className)TypeAbstractDelegatingMetadata. getIdentifierType(String className)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, String logicalName)StringInFlightMetadataCollector. getPhysicalColumnName(Table table, Identifier logicalName)TypeAbstractDelegatingMetadata. getReferencedPropertyType(String className, String propertyName)voidAbstractDelegatingMetadata. validate()voidMetadataImplementor. validate() -
org.hibernate.cfg中MappingException的使用
org.hibernate.cfg中MappingException的子类 修饰符和类型 类 说明 classCannotForceNonNullableExceptionIndicates 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.classNotYetImplementedExceptionMapping not yet implementedclassRecoverableException已过时。Was only ever referenced in a single place, in an extremely dubious way.抛出MappingException的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 ConfigurationConfiguration. addCacheableFile(File xmlFile)Add a cached mapping file.ConfigurationConfiguration. addCacheableFile(String xmlFile)Add a cacheable mapping file.ConfigurationConfiguration. addClass(Class persistentClass)Read a mapping as an application resource using the convention that a class named foo.bar.Foo is mapped by a file foo/bar/Foo.hbm.xml which can be resolved as a classpath resource.ConfigurationConfiguration. addDirectory(File dir)Read all mapping documents from a directory tree.ConfigurationConfiguration. addDocument(Document doc)已过时。Use addURL, addResource, addFile, etc. insteadConfigurationConfiguration. addFile(File xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addFile(String xmlFile)Read mappings from a particular XML fileConfigurationConfiguration. addInputStream(InputStream xmlInputStream)Read mappings from anInputStream.ConfigurationConfiguration. addJar(File jar)Read all mappings from a jar fileConfigurationConfiguration. addPackage(String packageName)Read package-level metadata.ConfigurationConfiguration. addResource(String resourceName)Read mappings as a application resourceName (i.e. classpath lookup) trying different class loaders.ConfigurationConfiguration. addResource(String resourceName, ClassLoader classLoader)已过时。This form (accepting a ClassLoader) is no longer supported.ConfigurationConfiguration. addURL(URL url)Read mappings from a URLConfigurationConfiguration. addXML(String xml)已过时。No longer supportedstatic voidAnnotationBinder. bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context)Bind a class having JSR175 annotations.voidCollectionSecondPass. doSecondPass(Map persistentClasses)voidCopyIdentifierComponentSecondPass. doSecondPass(Map persistentClasses)voidCreateKeySecondPass. doSecondPass(Map persistentClasses)voidIdGeneratorResolverSecondPass. doSecondPass(Map idGeneratorDefinitionMap)voidIndexOrUniqueKeySecondPass. doSecondPass(Map persistentClasses)voidJoinedSubclassFkSecondPass. doSecondPass(Map persistentClasses)voidOneToOneSecondPass. doSecondPass(Map persistentClasses)voidPkDrivenByDefaultMapsIdSecondPass. doSecondPass(Map persistentClasses)voidSecondaryTableSecondPass. doSecondPass(Map persistentClasses)voidSecondPass. doSecondPass(Map persistentClasses)voidSetSimpleValueTypeSecondPass. doSecondPass(Map persistentClasses)voidToOneFkSecondPass. doSecondPass(Map persistentClasses)voidVerifyFetchProfileReferenceSecondPass. doSecondPass(Map persistentClasses)org.hibernate.annotations.common.reflection.XClassPropertyData. getClassOrElement()Returns the returned class itself or the element type if an arrayorg.hibernate.annotations.common.reflection.XClassPropertyInferredData. getClassOrElement()org.hibernate.annotations.common.reflection.XClassPropertyPreloadedData. getClassOrElement()org.hibernate.annotations.common.reflection.XClassWrappedInferredData. getClassOrElement()StringPropertyData. getClassOrElementName()Returns the returned class name itself or the element type if an arrayStringPropertyInferredData. getClassOrElementName()StringPropertyPreloadedData. getClassOrElementName()StringWrappedInferredData. getClassOrElementName()AccessTypePropertyInferredData. getDefaultAccess()AccessTypePropertyPreloadedData. getDefaultAccess()org.hibernate.annotations.common.reflection.XClassPropertyData. getPropertyClass()Return the class itselforg.hibernate.annotations.common.reflection.XClassPropertyInferredData. getPropertyClass()org.hibernate.annotations.common.reflection.XClassPropertyPreloadedData. getPropertyClass()org.hibernate.annotations.common.reflection.XClassWrappedInferredData. getPropertyClass()StringPropertyData. getPropertyName()StringPropertyInferredData. getPropertyName()StringPropertyPreloadedData. getPropertyName()StringWrappedInferredData. getPropertyName()StringPropertyData. getTypeName()Returns the returned class name itselfStringPropertyInferredData. getTypeName()StringPropertyPreloadedData. getTypeName()StringWrappedInferredData. getTypeName()abstract voidCollectionSecondPass. secondPass(Map persistentClasses, Map inheritedMetas) -
org.hibernate.cfg.annotations中MappingException的使用
抛出MappingException的org.hibernate.cfg.annotations中的方法 修饰符和类型 方法 说明 voidResultsetMappingSecondPass. doSecondPass(Map persistentClasses) -
org.hibernate.dialect中MappingException的使用
抛出MappingException的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 StringTypeNames. get(int typeCode)get default type name for specified typeStringTypeNames. get(int typeCode, long size, int precision, int scale)get type name for specified type and sizeprotected StringAbstractHANADialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)protected StringDialect. getCreateSequenceString(String sequenceName)Typically dialects which support sequences can create a sequence with a single command.protected StringDialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)Overloaded form ofDialect.getCreateSequenceString(String), additionally taking the initial value and increment size to be applied to the sequence definition.protected StringHSQLDialect. getCreateSequenceString(String sequenceName, int initialValue, int incrementSize)Because of the overriddenHSQLDialect.getCreateSequenceString(String), we must also overrideHSQLDialect.getCreateSequenceString(String, int, int)to prevent 2 instances of "start with".String[]Dialect. getCreateSequenceStrings(String sequenceName)已过时。String[]Dialect. getCreateSequenceStrings(String sequenceName, int initialValue, int incrementSize)An optional multi-line form for databases whichDialect.supportsPooledSequences().protected StringDialect. getDropSequenceString(String sequenceName)Typically dialects which support sequences can drop a sequence with a single command.String[]Dialect. getDropSequenceStrings(String sequenceName)The multiline script used to drop a sequence.StringDB2Dialect. getSelectSequenceNextValString(String sequenceName)StringDialect. getSelectSequenceNextValString(String sequenceName)Generate the select expression fragment that will retrieve the next value of a sequence as part of another (typically DML) statement.StringDialect. getSequenceNextValString(String sequenceName)Generate the appropriate select statement to to retrieve the next value of a sequence. -
org.hibernate.dialect.identity中MappingException的使用
抛出MappingException的org.hibernate.dialect.identity中的方法 修饰符和类型 方法 说明 StringAbstractTransactSQLIdentityColumnSupport. getIdentityColumnString(int type)StringChache71IdentityColumnSupport. getIdentityColumnString(int type)StringIdentityColumnSupport. getIdentityColumnString(int type)The syntax used during DDL to define a column as being an IDENTITY of a particular type.StringIdentityColumnSupportImpl. getIdentityColumnString(int type)StringInformixIdentityColumnSupport. getIdentityColumnString(int type)StringAbstractTransactSQLIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)StringHANAIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)StringIdentityColumnSupport. getIdentitySelectString(String table, String column, int type)Get the select command to use to retrieve the last generated IDENTITY value for a particular tableStringIdentityColumnSupportImpl. getIdentitySelectString(String table, String column, int type)StringInformixIdentityColumnSupport. getIdentitySelectString(String table, String column, int type) -
org.hibernate.engine.internal中MappingException的使用
抛出MappingException的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 JoinSequenceJoinSequence. addJoin(AssociationType associationType, String alias, JoinType joinType, String[] referencingKey)Add a join to this sequenceJoinSequenceJoinSequence. addJoin(AssociationType associationType, String alias, JoinType joinType, String[][] referencingKeys)Add a join to this sequenceObjectStatefulPersistenceContext. getCollectionOwner(Serializable key, CollectionPersister collectionPersister)booleanStatefulPersistenceContext. reassociateIfUninitializedProxy(Object value)voidStatefulPersistenceContext. reassociateProxy(Object value, Serializable id)JoinFragmentJoinSequence. toJoinFragment()Generate a JoinFragmentJoinFragmentJoinSequence. toJoinFragment(Map enabledFilters, boolean includeAllSubclassJoins)Generate a JoinFragmentJoinFragmentJoinSequence. toJoinFragment(Map enabledFilters, boolean includeAllSubclassJoins, boolean renderSubclassJoins, String withClauseFragment)JoinFragmentJoinSequence. toJoinFragment(Map enabledFilters, boolean includeAllSubclassJoins, String withClauseFragment)Generate a JoinFragment -
org.hibernate.engine.query.spi中MappingException的使用
抛出MappingException的org.hibernate.engine.query.spi中的方法 修饰符和类型 方法 说明 FilterQueryPlanQueryPlanCache. getFilterQueryPlan(String filterString, String collectionRole, boolean shallow, Map<String,Filter> enabledFilters)Get the query plan for the given collection HQL filter fragment, creating it and caching it if not already cachedHQLQueryPlanQueryPlanCache. getHQLQueryPlan(String queryString, boolean shallow, Map<String,Filter> enabledFilters)Get the query plan for the given HQL query, creating it and caching it if not already cached -
org.hibernate.engine.spi中MappingException的使用
抛出MappingException的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 ObjectPersistenceContext. getCollectionOwner(Serializable key, CollectionPersister collectionPersister)Get the entity that owns this persistent collectionCollectionPersisterSessionFactoryDelegatingImpl. getCollectionPersister(String role)default CollectionPersisterSessionFactoryImplementor. getCollectionPersister(String role)已过时。(since 5.2) UseMetamodelImplementor.collectionPersister(String)instead.EntityPersisterSessionFactoryDelegatingImpl. getEntityPersister(String entityName)default EntityPersisterSessionFactoryImplementor. getEntityPersister(String entityName)已过时。(since 5.2) UseMetamodelImplementor.entityPersister(Class)instead.StringMapping. getIdentifierPropertyName(String className)StringSessionFactoryDelegatingImpl. getIdentifierPropertyName(String className)TypeMapping. getIdentifierType(String className)TypeSessionFactoryDelegatingImpl. getIdentifierType(String className)String[]SessionFactoryDelegatingImpl. getImplementors(String className)TypeMapping. getReferencedPropertyType(String className, String propertyName)TypeSessionFactoryDelegatingImpl. getReferencedPropertyType(String className, String propertyName)BooleanVersionValue. isUnsaved(Object version)booleanPersistenceContext. reassociateIfUninitializedProxy(Object value)Takes the given object and, if it represents a proxy, reassociates it with this event source.voidPersistenceContext. reassociateProxy(Object value, Serializable id)If a deleted entity instance is re-saved, and it has a proxy, we need to reset the identifier of the proxy抛出MappingException的org.hibernate.engine.spi中的构造器 构造器 说明 CollectionEntry(PersistentCollection collection, SessionFactoryImplementor factory)For initialized detached collections -
org.hibernate.hql.internal中MappingException的使用
抛出MappingException的org.hibernate.hql.internal中的方法 修饰符和类型 方法 说明 static String[]QuerySplitter. concreteQueries(String query, SessionFactoryImplementor factory)Handle Hibernate "implicit" polymorphism, by translating the query string into several "concrete" queries against mapped classes.static String[][]NameGenerator. generateColumnNames(Type[] types, SessionFactoryImplementor f) -
org.hibernate.hql.internal.ast中MappingException的使用
抛出MappingException的org.hibernate.hql.internal.ast中的方法 修饰符和类型 方法 说明 voidQueryTranslatorImpl. compile(String collectionRole, Map replacements, boolean shallow)Compile a filter.voidQueryTranslatorImpl. compile(Map replacements, boolean shallow)Compile a "normal" query. -
org.hibernate.hql.internal.ast.util中MappingException的使用
抛出MappingException的org.hibernate.hql.internal.ast.util中的方法 修饰符和类型 方法 说明 EntityPersisterSessionFactoryHelper. findEntityPersisterByName(String name)Locate the persister by class or entity name. -
org.hibernate.hql.internal.classic中MappingException的使用
抛出MappingException的org.hibernate.hql.internal.classic中的方法 修饰符和类型 方法 说明 voidQueryTranslatorImpl. compile(String collectionRole, Map replacements, boolean scalar)Compile a filter.voidQueryTranslatorImpl. compile(Map replacements, boolean scalar)Compile a "normal" query. -
org.hibernate.hql.spi中MappingException的使用
抛出MappingException的org.hibernate.hql.spi中的方法 修饰符和类型 方法 说明 voidFilterTranslator. compile(String collectionRole, Map replacements, boolean shallow)Compile a filter.voidQueryTranslator. compile(Map replacements, boolean shallow)Compile a "normal" query. -
org.hibernate.id中MappingException的使用
抛出MappingException的org.hibernate.id中的方法 修饰符和类型 方法 说明 voidAssigned. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidConfigurable. configure(Type type, Properties params, ServiceRegistry serviceRegistry)Configure this instance, given the value of parameters specified by the user as <param> elements.voidForeignGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidIncrementGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidMultipleHiLoPerTableGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)已过时。voidSelectGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidSequenceGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)已过时。voidSequenceHiLoGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)已过时。voidSequenceIdentityGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)已过时。voidUUIDGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidUUIDHexGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidExportableColumn.ValueImpl. createForeignKey()TypeExportableColumn.ValueImpl. getType()booleanExportableColumn.ValueImpl. isValid(Mapping mapping)voidExportableColumn.ValueImpl. setTypeUsingReflection(String className, String propertyName) -
org.hibernate.id.enhanced中MappingException的使用
抛出MappingException的org.hibernate.id.enhanced中的方法 修饰符和类型 方法 说明 voidSequenceStyleGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry)voidTableGenerator. configure(Type type, Properties params, ServiceRegistry serviceRegistry) -
org.hibernate.internal中MappingException的使用
抛出MappingException的org.hibernate.internal中的方法 修饰符和类型 方法 说明 StringSessionFactoryImpl. getIdentifierPropertyName(String className)TypeSessionFactoryImpl. getIdentifierType(String className)TypeSessionFactoryImpl. getReferencedPropertyType(String className, String propertyName) -
org.hibernate.internal.util中MappingException的使用
抛出MappingException的org.hibernate.internal.util中的方法 修饰符和类型 方法 说明 static ClassReflectHelper. reflectedPropertyClass(Class clazz, String name)Attempt to resolve the specified property type through reflection.static ClassReflectHelper. reflectedPropertyClass(String className, String name, ClassLoaderService classLoaderService)Attempt to resolve the specified property type through reflection. -
org.hibernate.loader中MappingException的使用
抛出MappingException的org.hibernate.loader中的方法 修饰符和类型 方法 说明 voidOuterJoinableAssociation. addJoins(JoinFragment outerjoin)voidOuterJoinableAssociation. addManyToManyJoin(JoinFragment outerjoin, QueryableCollection collection)protected static intJoinWalker. countCollectionPersisters(List associations)Count the number of instances of Joinable which are actually also instances of PersistentCollection which are being fetched by outer joinprotected static intJoinWalker. countEntityPersisters(List associations)Count the number of instances of Joinable which are actually also instances of Loadable, or are one-to-many associationsprotected JoinTypeJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)Determine the appropriate type of join (if any) to use to fetch the given association.protected JoinTypeJoinWalker. getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)Determine the appropriate associationType of join (if any) to use to fetch the given association.protected StringAbstractEntityJoinWalker. getWhereFragment()protected voidAbstractEntityJoinWalker. initAll(String whereString, String orderByString, LockOptions lockOptions)protected voidAbstractEntityJoinWalker. initAll(String whereString, String orderByString, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)protected voidJoinWalker. initPersisters(List associations, LockMode lockMode)protected voidJoinWalker. initPersisters(List associations, LockOptions lockOptions)protected voidJoinWalker. initPersisters(List associations, LockOptions lockOptions, JoinWalker.AssociationInitCallback callback)protected voidAbstractEntityJoinWalker. initProjection(String projectionString, String whereString, String orderByString, String groupByString, LockOptions lockOptions)protected booleanJoinWalker. isJoinedFetchEnabledInMapping(FetchMode config, AssociationType type)Does the mapping, and Hibernate default semantics, specify that this association should be fetched by outer joiningprotected JoinFragmentJoinWalker. mergeOuterJoins(List associations)Generate a sequence of LEFT OUTER JOIN clauses for the given associations.protected static StringJoinWalker. orderBy(List associations)Get the order by string required for collection fetchingprotected StringJoinWalker. selectString(List associations)Generate a select list of columns containing all properties of the entity classesvoidOuterJoinableAssociation. validateJoin(String path)protected voidJoinWalker. walkCollectionTree(QueryableCollection persister, String alias)For a collection role, return a list of associations to be fetched by outerjoinprotected voidJoinWalker. walkEntityTree(OuterJoinLoadable persister, String alias)Walk the association tree for an entity, adding associations which should be join fetched to theJoinWalker.associationsinst var.抛出MappingException的org.hibernate.loader中的构造器 构造器 说明 OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters) -
org.hibernate.loader.collection中MappingException的使用
抛出MappingException的org.hibernate.loader.collection中的方法 修饰符和类型 方法 说明 protected CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)CollectionInitializerPaddedBatchingCollectionInitializerBuilder. createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)protected CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)CollectionInitializerPaddedBatchingCollectionInitializerBuilder. createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)protected JoinTypeBasicCollectionJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth) -
org.hibernate.loader.collection.plan中MappingException的使用
抛出MappingException的org.hibernate.loader.collection.plan中的方法 修饰符和类型 方法 说明 CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)CollectionInitializerLegacyBatchingCollectionInitializerBuilder. createRealBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
org.hibernate.loader.criteria中MappingException的使用
抛出MappingException的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected JoinTypeCriteriaJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)protected JoinTypeCriteriaJoinWalker. getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)protected StringCriteriaJoinWalker. getWhereFragment()Use the discriminator, to narrow the select to instances of the queried subclass, also applying any filters. -
org.hibernate.loader.entity中MappingException的使用
抛出MappingException的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 protected JoinTypeEntityJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth) -
org.hibernate.mapping中MappingException的使用
抛出MappingException的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 voidPersistentClass. addSubclass(Subclass subclass)voidRootClass. addSubclass(Subclass subclass)protected voidPersistentClass. checkColumnDuplication(Set distinctColumns, Iterator columns)protected voidPersistentClass. checkPropertyColumnDuplication(Set distinctColumns, Iterator properties)voidCollection. createAllKeys()voidMap. createAllKeys()voidManyToOne. createForeignKey()voidOneToOne. createForeignKey()voidSimpleValue. createForeignKey()abstract voidToOne. createForeignKey()voidValue. createForeignKey()IdentifierGeneratorComponent. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)IdentifierGeneratorKeyValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)IdentifierGeneratorSimpleValue. createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory, Dialect dialect, String defaultCatalog, String defaultSchema, RootClass rootClass)CascadeStyleProperty. getCascadeStyle()ClassComponent. getComponentClass()CollectionTypeArray. getDefaultCollectionType()abstract CollectionTypeCollection. getDefaultCollectionType()CollectionTypeList. getDefaultCollectionType()ClassArray. getElementClass()GetterProperty. getGetter(Class clazz)ClassPersistentClass. getMappedClass()PropertyComponent. getProperty(String propertyName)PropertyPersistentClass. getProperty(String propertyName)PropertyAccessStrategyBackref. getPropertyAccessStrategy(Class clazz)PropertyAccessStrategyIndexBackref. getPropertyAccessStrategy(Class clazz)PropertyAccessStrategyProperty. getPropertyAccessStrategy(Class clazz)PropertyPersistentClass. getRecursiveProperty(String propertyPath)PropertyPersistentClass. getReferencedProperty(String propertyPath)Given a property path, locate the appropriate referenceable property reference.SetterProperty. getSetter(Class clazz)intColumn. getSqlTypeCode(Mapping mapping)TypeAny. getType()TypeCollection. getType()TypeComponent. getType()TypeDependantValue. getType()TypeManyToOne. getType()TypeOneToOne. getType()TypeProperty. getType()TypeSimpleValue. getType()abstract TypeToOne. getType()TypeValue. getType()booleanCollection. isValid(Mapping mapping)booleanOneToMany. isValid(Mapping mapping)booleanProperty. isValid(Mapping mapping)booleanSimpleValue. isValid(Mapping mapping)booleanToOne. isValid(Mapping mapping)booleanValue. isValid(Mapping mapping)voidForeignKey. setReferencedTable(Table referencedTable)voidAny. setTypeUsingReflection(String className, String propertyName)voidComponent. setTypeUsingReflection(String className, String propertyName)voidSimpleValue. setTypeUsingReflection(String className, String propertyName)voidToOne. setTypeUsingReflection(String className, String propertyName)voidValue. setTypeUsingReflection(String className, String propertyName)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) -
org.hibernate.metamodel.internal中MappingException的使用
抛出MappingException的org.hibernate.metamodel.internal中的方法 修饰符和类型 方法 说明 EntityPersisterMetamodelImpl. entityPersister(String entityName)String[]MetamodelImpl. getImplementors(String className) -
org.hibernate.persister.collection中MappingException的使用
抛出MappingException的org.hibernate.persister.collection中的方法 修饰符和类型 方法 说明 protected abstract CollectionInitializerAbstractCollectionPersister. createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)protected CollectionInitializerBasicCollectionPersister. createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)Create the CollectionLoaderprotected CollectionInitializerOneToManyPersister. createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)Create the OneToManyLoaderprotected StringAbstractCollectionPersister. filterFragment(String alias)StringAbstractCollectionPersister. filterFragment(String alias, Map enabledFilters)protected StringAbstractCollectionPersister. filterFragment(String alias, Set<String> treatAsDeclarations)StringOneToManyPersister. filterFragment(String alias)protected StringOneToManyPersister. filterFragment(String alias, Set<String> treatAsDeclarations)StringAbstractCollectionPersister. oneToManyFilterFragment(String alias)voidAbstractCollectionPersister. postInstantiate()voidCollectionPersister. postInstantiate()抛出MappingException的org.hibernate.persister.collection中的构造器 构造器 说明 AbstractCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)BasicCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)CompositeElementPropertyMapping(String[] elementColumns, String[] elementColumnReaders, String[] elementColumnReaderTemplates, String[] elementFormulaTemplates, CompositeType compositeType, Mapping factory)ElementPropertyMapping(String[] elementColumns, Type type)OneToManyPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext) -
org.hibernate.persister.entity中MappingException的使用
抛出MappingException的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockMode lockMode)Used internally to create static loaders.protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockMode lockMode, LoadQueryInfluencers loadQueryInfluencers)protected UniqueEntityLoaderAbstractEntityPersister. createEntityLoader(LockOptions lockOptions, LoadQueryInfluencers loadQueryInfluencers)protected voidAbstractEntityPersister. createUniqueKeyLoaders()Size[]DiscriminatorType. defaultSizes(Mapping mapping)Size[]DiscriminatorType. dictatedSizes(Mapping mapping)protected abstract StringAbstractEntityPersister. filterFragment(String alias)StringAbstractEntityPersister. filterFragment(String alias, Map enabledFilters)StringJoinable. filterFragment(String alias, Map enabledFilters)Get the where clause filter, given a query alias and considering enabled session filtersStringJoinable. filterFragment(String alias, Map enabledFilters, Set<String> treatAsDeclarations)Get the where clause filter, given a query alias and considering enabled session filtersprotected StringSingleTableEntityPersister. filterFragment(String alias)intDiscriminatorType. getColumnSpan(Mapping mapping)TypeAbstractEntityPersister. getPropertyType(String propertyName)Get the type of a particular property by name.TypeEntityPersister. getPropertyType(String propertyName)Get the type of a particular property by name.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. initSubclassPropertyAliasesMap(PersistentClass model)Must be called by subclasses, at the end of their constructorsStringAbstractEntityPersister. oneToManyFilterFragment(String alias)StringJoinable. oneToManyFilterFragment(String alias)StringSingleTableEntityPersister. oneToManyFilterFragment(String alias)protected voidAbstractEntityPersister. postConstruct(Mapping mapping)Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their constructor processing.voidAbstractEntityPersister. postInstantiate()voidEntityPersister. postInstantiate()Finish the initialization of this object.int[]DiscriminatorType. sqlTypes(Mapping mapping) -
org.hibernate.procedure中MappingException的使用
org.hibernate.procedure中MappingException的子类 修饰符和类型 类 说明 classUnknownSqlResultSetMappingException抛出MappingException的org.hibernate.procedure中的方法 修饰符和类型 方法 说明 ProcedureCallProcedureCall. addSynchronizedEntityClass(Class entityClass)ProcedureCallProcedureCall. addSynchronizedEntityName(String entityName) -
org.hibernate.query中MappingException的使用
抛出MappingException的org.hibernate.query中的方法 修饰符和类型 方法 说明 NativeQuery<T>NativeQuery. addSynchronizedEntityClass(Class entityClass)NativeQuery<T>NativeQuery. addSynchronizedEntityName(String entityName) -
org.hibernate.query.internal中MappingException的使用
抛出MappingException的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 NativeQueryImplementor<T>NativeQueryImpl. addSynchronizedEntityClass(Class entityClass)NativeQueryImplementor<T>NativeQueryImpl. addSynchronizedEntityName(String entityName) -
org.hibernate.query.spi中MappingException的使用
抛出MappingException的org.hibernate.query.spi中的方法 修饰符和类型 方法 说明 NativeQueryImplementor<T>NativeQueryImplementor. addSynchronizedEntityClass(Class entityClass)NativeQueryImplementor<T>NativeQueryImplementor. addSynchronizedEntityName(String entityName) -
org.hibernate.type中MappingException的使用
抛出MappingException的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.StringAssociationType. getAssociatedEntityName(SessionFactoryImplementor factory)Get the entity name of the associated entityStringCollectionType. getAssociatedEntityName(SessionFactoryImplementor factory)JoinableAssociationType. getAssociatedJoinable(SessionFactoryImplementor factory)Get the "persister" for this association - a class or collection persisterJoinableCollectionType. getAssociatedJoinable(SessionFactoryImplementor factory)JoinableEntityType. getAssociatedJoinable(SessionFactoryImplementor factory)Retrieves theJoinabledefining the associated entity.intAbstractStandardBasicType. getColumnSpan(Mapping mapping)intCollectionType. getColumnSpan(Mapping session)intComponentType. getColumnSpan(Mapping mapping)intCompositeCustomType. getColumnSpan(Mapping mapping)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.TypeCollectionType. getElementType(SessionFactoryImplementor factory)Get the Hibernate type of the collection elementsStringEntityType. 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.StringAssociationType. getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)Get the "filtering" SQL fragment that is applied in the SQL on clause, in addition to the usual join conditionStringCollectionType. getOnCondition(String alias, SessionFactoryImplementor factory, Map enabledFilters)TypeTypeResolver. heuristicType(String typeName)已过时。TypeTypeResolver. heuristicType(String typeName, Properties parameters)已过时。Uses heuristics to deduce the properTypegiven a string naming the type or Java class.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[]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.抛出MappingException的org.hibernate.type中的构造器 构造器 说明 CustomType(UserType userType)CustomType(UserType userType, String[] registrationKeys)
-