类的使用
org.hibernate.HibernateException
-
使用HibernateException的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.action.internal Internals for action processing.org.hibernate.action.spi Defines SPI hooks into theActionQueue.org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.archive.spi Defines the SPI for support of "scanning" of "archives".org.hibernate.boot.jaxb.internal.stax Contains basic support for Java XML Processing (JAXP) via Streaming API for XML (StAX)org.hibernate.boot.model.naming Represents a proposed new approach to allowing hooks into the process of determining the name of database objects (tables, columns, constraints, etc).org.hibernate.boot.model.source.internal.hbm org.hibernate.boot.registry.classloading.spi The class loading service SPI.org.hibernate.boot.registry.selector.spi Defines actual contract used for strategy selection :StrategySelector.org.hibernate.boot.spi org.hibernate.bytecode.enhance.spi package defining bytecode code enhancement (instrumentation) support.org.hibernate.bytecode.internal.bytebuddy Byte Buddy support internalsorg.hibernate.bytecode.internal.javassist Javassist support internalsorg.hibernate.bytecode.spi Package defining bytecode code enhancement (instrumentation) support.org.hibernate.cache This package defines API of the Hibernate second level cache service.org.hibernate.cache.internal Internal implementations and support for second-level caching.org.hibernate.cache.spi Defines the integration aspect of Hibernate's second-level caching allowing "caching back ends" to be plugged in as a caching provider.org.hibernate.cache.spi.access Defines contracts for transactional and concurrent access to cachedentityandcollectiondata.org.hibernate.cache.spi.entry This package defines formats for disassembled state kept in the second level cache.org.hibernate.cfg This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.org.hibernate.cfg.beanvalidation org.hibernate.collection.internal Internal implementations and support for persistent collectionsorg.hibernate.collection.spi SPI definitions for persistent collectionsorg.hibernate.context Defines support for "current session" feature.org.hibernate.context.internal Internal implementations and support around "current session" handling.org.hibernate.context.spi SPI level contracts around "current session" support.org.hibernate.criterion A framework for defining restriction criteria and order criteria.org.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.dialect.lock Support for Dialect-specific locking strategiesorg.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.jdbc.dialect.internal Internal support for Dialect resolution (from JDBC metadata) and Dialect building.org.hibernate.engine.jdbc.dialect.spi Contracts supporting Dialect resolution (from JDBC metadata) and Dialect building.org.hibernate.engine.jndi Support for JNDI within Hibernateorg.hibernate.engine.query org.hibernate.engine.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.engine.transaction.internal org.hibernate.engine.transaction.jta.platform.spi org.hibernate.engine.transaction.spi org.hibernate.event.internal This package defines a default set of event listeners that implements the default behaviors of Hibernate.org.hibernate.event.service.spi org.hibernate.event.spi org.hibernate.exception This package is a fork of Apache commons-lang nestable exceptions.org.hibernate.exception.spi org.hibernate.graph Hibernate's (extended) support for JPA's entity graphsorg.hibernate.hikaricp.internal Implementation of ConnectionProvider using HikariCP.org.hibernate.hql.internal org.hibernate.hql.internal.ast An ANTLR-based parser for Hibernate Query Language.org.hibernate.hql.internal.ast.exec 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.internal.util.beans org.hibernate.internal.util.config org.hibernate.internal.util.xml org.hibernate.jdbc org.hibernate.jpa.internal.util 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.custom This package defines a framework for custom loaders that accept handwritten SQLorg.hibernate.loader.custom.sql org.hibernate.loader.entity This package defines entity loadersorg.hibernate.loader.entity.plan org.hibernate.loader.hql This package defines a loader for the AST-based query parserorg.hibernate.loader.plan.exec.internal Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.org.hibernate.loader.plan.spi Defines the SPI for the building blocks that make up a LoadPlan.org.hibernate.mapping This package defines the Hibernate configuration-time metamodel.org.hibernate.metadata This package defines an API for accessing the Hibernate runtime metamodel.org.hibernate.metamodel.model.domain 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.persister.internal org.hibernate.persister.spi org.hibernate.persister.walking.spi org.hibernate.procedure org.hibernate.property.access.spi Defines strategies for accessing the persistent properties of an entity or composite.org.hibernate.proxy This package defines a framework for lazy-initializing entity proxies.org.hibernate.proxy.map org.hibernate.proxy.pojo.bytebuddy org.hibernate.proxy.pojo.javassist org.hibernate.query.internal org.hibernate.query.spi org.hibernate.resource.beans.container.internal org.hibernate.resource.transaction Defines the resource-level transaction capabilities of Hibernate, which revolves around theTransactionCoordinatorcontract.org.hibernate.resource.transaction.backend.jdbc.internal org.hibernate.resource.transaction.backend.jta.internal org.hibernate.result org.hibernate.secure.spi org.hibernate.service org.hibernate.service.internal org.hibernate.service.spi org.hibernate.sql.ordering.antlr org.hibernate.tool.hbm2ddl The hbm2ddl tool.org.hibernate.tool.schema.extract.spi org.hibernate.tool.schema.spi org.hibernate.tuple.component org.hibernate.tuple.entity org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types.org.hibernate.type.descriptor.java org.hibernate.usertype Interfaces for user-defined custom types. -
-
org.hibernate中HibernateException的使用
org.hibernate中HibernateException的子类 修饰符和类型 类 说明 classAnnotationExceptionAnnotation related exception.classCallbackExceptionIntended to be thrown fromLifecycleandInterceptorcallbacks.classDuplicateMappingExceptionRaised whenever a duplicate for a certain type occurs.classHibernateErrorMarks a group of exceptions that generally indicate an internal Hibernate error or bug.classInstantiationExceptionThrown if Hibernate can't instantiate a class at runtime.classInvalidMappingExceptionThrown when a mapping is found to be invalid.classJDBCExceptionWraps aSQLException.classLazyInitializationExceptionIndicates an attempt to access not-yet-fetched data outside of a session context.classMappingExceptionAn exception that occurs while reading mapping sources (xml/annotations), usually as a result of something screwy in the O-R mappings.classMappingNotFoundException已过时。UseMappingNotFoundExceptioninstead.classNonUniqueObjectExceptionThis exception is thrown when an operation would break session-scoped identity.classNonUniqueResultExceptionThrown when the application calls Query.uniqueResult() and the query returned more than one result.classObjectDeletedExceptionThrown when the user tries to do something illegal with a deleted object.classObjectNotFoundExceptionThrown when Session.load() fails to select a row with the given primary key (identifier value).classOptimisticLockException已过时。UseOptimisticEntityLockExceptioninsteadclassPersistentObjectExceptionThrown when the user passes a persistent instance to a Session method that expects a transient instance.classPessimisticLockExceptionThrown when a pessimistic locking conflict occurs.classPropertyAccessExceptionA problem occurred accessing a property of an instance of a persistent class by reflection, or via enhanced entities.classPropertyNotFoundExceptionIndicates that an expected getter or setter method could not be found on a class.classPropertySetterAccessExceptionclassPropertyValueExceptionThrown when the (illegal) value of a property can not be persisted.classQueryExceptionA problem occurred translating a Hibernate query to SQL due to invalid query syntax, etc.classQueryParameterExceptionParameter invalid or not found in the query.classQueryTimeoutExceptionThrown when a database query timeout occurs.classResourceClosedExceptionIndicates an attempt was made to use a closed resource (Session, SessionFactory, etc).classSessionExceptionThrown when the user calls a method of aSessionthat is in an inappropriate state for the given call (for example, the the session is closed or disconnected).classStaleObjectStateExceptionA specialized StaleStateException that carries information about the particular entity instance that was the source of the failure.classStaleStateExceptionThrown when a version number or timestamp check failed, indicating that the Session contained stale data (when using long transactions with versioning).classTransactionExceptionIndicates that a transaction could not be begun, committed or rolled back.classTransientObjectExceptionThrown when the user passes a transient instance to a Session method that expects a persistent instance.classTransientPropertyValueExceptionThrown when a property cannot be persisted because it is an association with a transient unsaved entity instance.classTypeMismatchExceptionUsed when a user provided type does not match the expected one.classUnknownEntityTypeExceptionIndicates an attempt was made to refer to an unknown entity name/class.classUnknownProfileExceptionUsed to indicate a request against an unknown profile name.classUnresolvableObjectExceptionThrown when Hibernate could not resolve an object by id, especially when loading an association.classUnsupportedLockAttemptExceptionThis exception is thrown when an invalid LockMode is selected for an entity.classWrongClassExceptionThrown when loading an entity (by identifier) results in a value that cannot be treated as the subclass type requested by the caller.抛出HibernateException的org.hibernate中的方法 修饰符和类型 方法 说明 voidSession. cancelQuery()Cancel the execution of the current query.static voidHibernate. close(Iterator iterator)Close anIteratorinstances obtained fromQuery.iterate()immediately instead of waiting until the session is closed or disconnected.voidSessionFactory. close()Destroy this SessionFactory and release all resources (caches, connection pools, etc).voidSharedSessionContract. close()End the session by releasing the JDBC connection and cleaning up.CriteriaCriteria. createAlias(String associationPath, String alias)Join an association, assigning an alias to the joined association.CriteriaCriteria. createAlias(String associationPath, String alias, int joinType)CriteriaCriteria. createAlias(String associationPath, String alias, int joinType, Criterion withClause)CriteriaCriteria. createAlias(String associationPath, String alias, JoinType joinType)Join an association using the specified join-type, assigning an alias to the joined association.CriteriaCriteria. createAlias(String associationPath, String alias, JoinType joinType, Criterion withClause)Join an association using the specified join-type, assigning an alias to the joined association.CriteriaCriteria. createCriteria(String associationPath)Create a new Criteria, "rooted" at the associated entity.CriteriaCriteria. createCriteria(String associationPath, int joinType)CriteriaCriteria. createCriteria(String associationPath, String alias)Create a new Criteria, "rooted" at the associated entity, assigning the given alias.CriteriaCriteria. createCriteria(String associationPath, String alias, int joinType)CriteriaCriteria. createCriteria(String associationPath, String alias, int joinType, Criterion withClause)CriteriaCriteria. createCriteria(String associationPath, String alias, JoinType joinType)Create a new Criteria, "rooted" at the associated entity, assigning the given alias and using the specified join type.CriteriaCriteria. createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause)Create a new Criteria, "rooted" at the associated entity, assigning the given alias and using the specified join type.CriteriaCriteria. createCriteria(String associationPath, JoinType joinType)Create a new Criteria, "rooted" at the associated entity, using the specified join type.default <T> TSharedSessionContract. doReturningWork(ReturningWork<T> work)Controller for allowing users to perform JDBC related work using the Connection managed by this Session.default voidSharedSessionContract. doWork(Work work)Controller for allowing users to perform JDBC related work using the Connection managed by this Session.voidSession. flush()Force this session to flush.SessionSessionFactory. getCurrentSession()Obtains the current session.FilterDefinitionSessionFactory. getFilterDefinition(String filterName)Obtain the definition of a filter by name.static voidHibernate. initialize(Object proxy)Force initialization of a proxy or persistent collection.booleanSession. isDirty()Does this session contain any changes which must be synchronized with the database?ListCriteria. list()Get the results.SessionSessionFactory. openSession()Open aSession.voidTransaction. registerSynchronization(javax.transaction.Synchronization synchronization)Register a user synchronization callback for this transaction.ScrollableResultsCriteria. scroll()Get the results as an instance ofScrollableResults.ScrollableResultsCriteria. scroll(ScrollMode scrollMode)Get the results as an instance ofScrollableResultsbased on the given scroll mode.CriteriaCriteria. setFetchMode(String associationPath, FetchMode mode)Specify an association fetching strategy for an association or a collection of values.ObjectCriteria. uniqueResult()Convenience method to return a single instance that matches the query, or null if the query returns no results.voidFilter. validate()Perform validation of the filter state. -
org.hibernate.action.internal中HibernateException的使用
org.hibernate.action.internal中HibernateException的子类 修饰符和类型 类 说明 classEntityActionVetoExceptionAn exception indicating that anEntityActionwas vetoed.抛出HibernateException的org.hibernate.action.internal中的方法 修饰符和类型 方法 说明 voidBulkOperationCleanupAction. beforeExecutions()voidEntityDeleteAction. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)voidEntityInsertAction. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)voidBulkOperationCleanupAction. execute()voidCollectionRecreateAction. execute()voidCollectionRemoveAction. execute()voidCollectionUpdateAction. execute()voidEntityDeleteAction. execute()voidEntityIdentityInsertAction. execute()voidEntityInsertAction. execute()voidEntityUpdateAction. execute()voidQueuedOperationCollectionAction. execute() -
org.hibernate.action.spi中HibernateException的使用
抛出HibernateException的org.hibernate.action.spi中的方法 修饰符和类型 方法 说明 voidExecutable. beforeExecutions()Called before executing any actions.voidExecutable. execute()Execute this action. -
org.hibernate.boot中HibernateException的使用
org.hibernate.boot中HibernateException的子类 修饰符和类型 类 说明 classInvalidMappingExceptionclassMappingExceptionIndicates a problem parsing a mapping document.classMappingNotFoundExceptionclassUnsupportedOrmXsdVersionException -
org.hibernate.boot.archive.spi中HibernateException的使用
org.hibernate.boot.archive.spi中HibernateException的子类 修饰符和类型 类 说明 classArchiveExceptionIndicates a problem accessing or visiting the archive -
org.hibernate.boot.jaxb.internal.stax中HibernateException的使用
org.hibernate.boot.jaxb.internal.stax中HibernateException的子类 修饰符和类型 类 说明 classXmlInfrastructureExceptionAn error using XML infrastructure (jaxp, stax, etc). -
org.hibernate.boot.model.naming中HibernateException的使用
org.hibernate.boot.model.naming中HibernateException的子类 修饰符和类型 类 说明 classIllegalIdentifierExceptionIndicates an attempted use of a name that was deemed illegal -
org.hibernate.boot.model.source.internal.hbm中HibernateException的使用
抛出HibernateException的org.hibernate.boot.model.source.internal.hbm中的方法 修饰符和类型 方法 说明 List<EntityHierarchySourceImpl>EntityHierarchyBuilder. buildHierarchies()To be called after all mapping documents have been processed (viaEntityHierarchyBuilder.indexMappingDocument(org.hibernate.boot.model.source.internal.hbm.MappingDocument)) -
org.hibernate.boot.registry.classloading.spi中HibernateException的使用
org.hibernate.boot.registry.classloading.spi中HibernateException的子类 修饰符和类型 类 说明 classClassLoadingExceptionIndicates a problem performing class loading. -
org.hibernate.boot.registry.selector.spi中HibernateException的使用
org.hibernate.boot.registry.selector.spi中HibernateException的子类 修饰符和类型 类 说明 classStrategySelectionExceptionIndicates a problem performing the selection/resolution. -
org.hibernate.boot.spi中HibernateException的使用
org.hibernate.boot.spi中HibernateException的子类 修饰符和类型 类 说明 static classInFlightMetadataCollector.DuplicateSecondaryTableException -
org.hibernate.bytecode.enhance.spi中HibernateException的使用
org.hibernate.bytecode.enhance.spi中HibernateException的子类 修饰符和类型 类 说明 classEnhancementExceptionAn exception indicating some kind of problem performing bytecode enhancement. -
org.hibernate.bytecode.internal.bytebuddy中HibernateException的使用
org.hibernate.bytecode.internal.bytebuddy中HibernateException的子类 修饰符和类型 类 说明 classBulkAccessorException -
org.hibernate.bytecode.internal.javassist中HibernateException的使用
org.hibernate.bytecode.internal.javassist中HibernateException的子类 修饰符和类型 类 说明 classBulkAccessorExceptionAn exception thrown while generating a bulk accessor. -
org.hibernate.bytecode.spi中HibernateException的使用
org.hibernate.bytecode.spi中HibernateException的子类 修饰符和类型 类 说明 classNotInstrumentedExceptionIndicates a condition where an instrumented/enhanced class was expected, but the class was not instrumented/enhanced. -
org.hibernate.cache中HibernateException的使用
org.hibernate.cache中HibernateException的子类 修饰符和类型 类 说明 classCacheExceptionSomething went wrong in the cacheclassNoCacheRegionFactoryAvailableExceptionIndicates a condition where a second-level cache implementation was expected to be available, but none was found on the classpath. -
org.hibernate.cache.internal中HibernateException的使用
抛出HibernateException的org.hibernate.cache.internal中的方法 修饰符和类型 方法 说明 QueryResultsCacheEnabledCaching. getQueryResultsCache(String regionName)booleanQueryResultsCacheImpl. put(QueryKey key, List results, Type[] returnTypes, SharedSessionContractImplementor session) -
org.hibernate.cache.spi中HibernateException的使用
抛出HibernateException的org.hibernate.cache.spi中的方法 修饰符和类型 方法 说明 default voidCacheImplementor. evictQueries()Clean up the default query cacheListQueryResultsCache. get(QueryKey key, String[] spaces, Type[] returnTypes, SharedSessionContractImplementor session)Get results from the cache.ListQueryResultsCache. get(QueryKey key, Set<Serializable> spaces, Type[] returnTypes, SharedSessionContractImplementor session)Get results from the cache.default QueryCacheCacheImplementor. getQueryCache(String regionName)已过时。UseCacheImplementor.getQueryResultsCache(String)instead, but using unqualified namebooleanQueryResultsCache. put(QueryKey key, List result, Type[] returnTypes, SharedSessionContractImplementor session)Put a result into the query cache. -
org.hibernate.cache.spi.access中HibernateException的使用
org.hibernate.cache.spi.access中HibernateException的子类 修饰符和类型 类 说明 classUnknownAccessTypeExceptionIndicates that an unknown AccessType external name was encountered or that an AccessType was requested that the underlying cache provider does not support. -
org.hibernate.cache.spi.entry中HibernateException的使用
抛出HibernateException的org.hibernate.cache.spi.entry中的方法 修饰符和类型 方法 说明 Object[]StandardCacheEntryImpl. assemble(Object instance, Serializable id, EntityPersister persister, Interceptor interceptor, EventSource session)Assemble the previously disassembled state represented by this entry into the given entity instance.抛出HibernateException的org.hibernate.cache.spi.entry中的构造器 构造器 说明 StandardCacheEntryImpl(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner)Constructs a StandardCacheEntryImpl -
org.hibernate.cfg中HibernateException的使用
org.hibernate.cfg中HibernateException的子类 修饰符和类型 类 说明 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.抛出HibernateException的org.hibernate.cfg中的方法 修饰符和类型 方法 说明 SessionFactoryConfiguration. buildSessionFactory()Create aSessionFactoryusing the properties and mappings in this configuration.SessionFactoryConfiguration. buildSessionFactory(ServiceRegistry serviceRegistry)Create aSessionFactoryusing the properties and mappings in this configuration.ConfigurationConfiguration. configure()Use the mappings and properties specified in an application resource named hibernate.cfg.xml.ConfigurationConfiguration. configure(File configFile)Use the mappings and properties specified in the given application file.ConfigurationConfiguration. configure(String resource)Use the mappings and properties specified in the given application resource.ConfigurationConfiguration. configure(URL url)Use the mappings and properties specified in the given document.ConfigurationConfiguration. configure(Document document)已过时。No longer supported. -
org.hibernate.cfg.beanvalidation中HibernateException的使用
org.hibernate.cfg.beanvalidation中HibernateException的子类 修饰符和类型 类 说明 classIntegrationExceptionIndicates a problem integrating Hibernate and the Bean Validation spec. -
org.hibernate.collection.internal中HibernateException的使用
抛出HibernateException的org.hibernate.collection.internal中的方法 修饰符和类型 方法 说明 voidAbstractPersistentCollection. afterRowInsert(CollectionPersister persister, Object entry, int i)voidPersistentIdentifierBag. afterRowInsert(CollectionPersister persister, Object entry, int i)SerializablePersistentArrayHolder. disassemble(CollectionPersister persister)SerializablePersistentBag. disassemble(CollectionPersister persister)SerializablePersistentIdentifierBag. disassemble(CollectionPersister persister)SerializablePersistentList. disassemble(CollectionPersister persister)SerializablePersistentMap. disassemble(CollectionPersister persister)SerializablePersistentSet. disassemble(CollectionPersister persister)booleanPersistentArrayHolder. equalsSnapshot(CollectionPersister persister)booleanPersistentBag. equalsSnapshot(CollectionPersister persister)booleanPersistentIdentifierBag. equalsSnapshot(CollectionPersister persister)booleanPersistentList. equalsSnapshot(CollectionPersister persister)booleanPersistentMap. equalsSnapshot(CollectionPersister persister)booleanPersistentSet. equalsSnapshot(CollectionPersister persister)voidAbstractPersistentCollection. forceInitialization()IteratorPersistentArrayHolder. getDeletes(CollectionPersister persister, boolean indexIsFormula)IteratorPersistentBag. getDeletes(CollectionPersister persister, boolean indexIsFormula)IteratorPersistentIdentifierBag. getDeletes(CollectionPersister persister, boolean indexIsFormula)IteratorPersistentList. getDeletes(CollectionPersister persister, boolean indexIsFormula)IteratorPersistentMap. getDeletes(CollectionPersister persister, boolean indexIsFormula)IteratorPersistentSet. getDeletes(CollectionPersister persister, boolean indexIsFormula)abstract CollectionAbstractPersistentCollection. getOrphans(Serializable snapshot, String entityName)protected static CollectionAbstractPersistentCollection. getOrphans(Collection oldElements, Collection currentElements, String entityName, SharedSessionContractImplementor session)Given a collection of entity instances that used to belong to the collection, and a collection of instances that currently belong, return a collection of orphansCollectionPersistentArrayHolder. getOrphans(Serializable snapshot, String entityName)CollectionPersistentBag. getOrphans(Serializable snapshot, String entityName)CollectionPersistentIdentifierBag. getOrphans(Serializable snapshot, String entityName)CollectionPersistentList. getOrphans(Serializable snapshot, String entityName)CollectionPersistentMap. getOrphans(Serializable snapshot, String entityName)CollectionPersistentSet. getOrphans(Serializable snapshot, String entityName)SerializablePersistentArrayHolder. getSnapshot(CollectionPersister persister)SerializablePersistentBag. getSnapshot(CollectionPersister persister)SerializablePersistentIdentifierBag. getSnapshot(CollectionPersister persister)SerializablePersistentList. getSnapshot(CollectionPersister persister)SerializablePersistentMap. getSnapshot(CollectionPersister persister)SerializablePersistentSet. getSnapshot(CollectionPersister persister)voidPersistentArrayHolder. initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)voidPersistentBag. initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)voidPersistentIdentifierBag. initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)voidPersistentList. initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)voidPersistentMap. initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)voidPersistentSet. initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)booleanPersistentArrayHolder. needsInserting(Object entry, int i, Type elemType)booleanPersistentBag. needsInserting(Object entry, int i, Type elemType)booleanPersistentIdentifierBag. needsInserting(Object entry, int i, Type elemType)booleanPersistentList. needsInserting(Object entry, int i, Type elemType)booleanPersistentMap. needsInserting(Object entry, int i, Type elemType)booleanPersistentSet. needsInserting(Object entry, int i, Type elemType)booleanPersistentArrayHolder. needsUpdating(Object entry, int i, Type elemType)booleanPersistentIdentifierBag. needsUpdating(Object entry, int i, Type elemType)booleanPersistentList. needsUpdating(Object entry, int i, Type elemType)booleanPersistentMap. needsUpdating(Object entry, int i, Type elemType)voidAbstractPersistentCollection. preInsert(CollectionPersister persister)voidPersistentIdentifierBag. preInsert(CollectionPersister persister)ObjectPersistentArrayHolder. readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)ObjectPersistentBag. readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)ObjectPersistentIdentifierBag. readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)ObjectPersistentList. readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)ObjectPersistentMap. readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)ObjectPersistentSet. readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)booleanAbstractPersistentCollection. setCurrentSession(SharedSessionContractImplementor session)protected SerializablePersistentSortedMap. snapshot(BasicCollectionPersister persister, EntityMode entityMode)protected SerializablePersistentSortedSet. snapshot(BasicCollectionPersister persister, EntityMode entityMode) -
org.hibernate.collection.spi中HibernateException的使用
抛出HibernateException的org.hibernate.collection.spi中的方法 修饰符和类型 方法 说明 ObjectPersistentCollection. readFrom(ResultSet rs, CollectionPersister role, CollectionAliases descriptor, Object owner)Read a row from the JDBC result setbooleanPersistentCollection. setCurrentSession(SharedSessionContractImplementor session)Associate the collection with the given session. -
org.hibernate.context中HibernateException的使用
org.hibernate.context中HibernateException的子类 修饰符和类型 类 说明 classTenantIdentifierMismatchExceptionIndicates that tenant identifiers did not match in cases whereCurrentTenantIdentifierResolver.validateExistingCurrentSessions()returnstrueand there is a mismatch found. -
org.hibernate.context.internal中HibernateException的使用
抛出HibernateException的org.hibernate.context.internal中的方法 修饰符和类型 方法 说明 SessionJTASessionContext. currentSession()SessionThreadLocalSessionContext. currentSession() -
org.hibernate.context.spi中HibernateException的使用
抛出HibernateException的org.hibernate.context.spi中的方法 修饰符和类型 方法 说明 SessionCurrentSessionContext. currentSession()Retrieve the current session according to the scoping defined by this implementation. -
org.hibernate.criterion中HibernateException的使用
抛出HibernateException的org.hibernate.criterion中的方法 修饰符和类型 方法 说明 String[]CriteriaQuery. findColumns(String propertyPath, Criteria criteria)Get the names of the columns mapped by a property path; if the property path is not found in criteria, try the "outer" query.StringCriteriaQuery. getColumn(Criteria criteria, String propertyPath)Resolve a property path to the name of the column it maps to.String[]CriteriaQuery. getColumns(String propertyPath, Criteria criteria)Resolve a property path to the names of the columns it maps to.String[]CriteriaQuery. getColumnsUsingProjection(Criteria criteria, String propertyPath)Get the names of the columns mapped by a property path.protected QueryableCollectionAbstractEmptinessExpression. getQueryableCollection(String entityName, String propertyName, SessionFactoryImplementor factory)TypeCriteriaQuery. getType(Criteria criteria, String propertyPath)Get the type of a property path.TypedValueCriteriaQuery. getTypedValue(Criteria criteria, String propertyPath, Object value)Build a typed-value for the property/value combo.TypedValue[]AbstractEmptinessExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]BetweenExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]Criterion. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)Return typed values for all parameters in the rendered SQL fragmentTypedValue[]Junction. getTypedValues(Criteria crit, CriteriaQuery criteriaQuery)TypedValue[]NaturalIdentifier. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]NotExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]NotNullExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]NullExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]SimpleExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]SimpleSubqueryExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]SizeExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)TypedValue[]SubqueryExpression. getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)Type[]AggregateProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)Type[]AliasedProjection. getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)Type[]AliasedProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)Type[]Projection. getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)Get the return types for a particular user-visible alias.Type[]Projection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)Types returned by the rendered SQLfragment.Type[]ProjectionList. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)Type[]PropertyProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)Type[]RowCountProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)TypeCriteriaQuery. getTypeUsingProjection(Criteria criteria, String propertyPath)Get the type of a property path.StringProjection. toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)Render the SQL fragment to be used in the GROUP BY clauseStringProjectionList. toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringPropertyProjection. toGroupSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringAbstractEmptinessExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringAggregateProjection. toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)StringAliasedProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)StringBetweenExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringCriterion. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)Render the SQL fragmentStringJunction. toSqlString(Criteria crit, CriteriaQuery criteriaQuery)StringNaturalIdentifier. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringNotExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringNotNullExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringNullExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)Render the SQL fragment to be used in the SELECT clause.StringProjectionList. toSqlString(Criteria criteria, int loc, CriteriaQuery criteriaQuery)StringPropertyExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringPropertyProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)StringRowCountProjection. toSqlString(Criteria criteria, int position, CriteriaQuery criteriaQuery)StringSimpleExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringSizeExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)StringSubqueryExpression. toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) -
org.hibernate.dialect中HibernateException的使用
抛出HibernateException的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 static DialectDialect. getDialect()已过时。this static method will be removed.static DialectDialect. getDialect(Properties props)已过时。this static method will be removed.StringDialect. getHibernateTypeName(int code)StringDialect. getHibernateTypeName(int code, int length, int precision, int scale)StringDialect. getTypeName(int code)Get the name of the database type associated with the givenTypestypecode.StringDialect. getTypeName(int code, long length, int precision, int scale)Get the name of the database type associated with the givenTypestypecode with the given storage specification parameters.StringTeradata14Dialect. getTypeName(int code, int length, int precision, int scale)Get the name of the database type associated with the given java.sql.Types typecode.StringTeradataDialect. getTypeName(int code, int length, int precision, int scale)Get the name of the database type associated with the given java.sql.Types typecode. -
org.hibernate.dialect.lock中HibernateException的使用
org.hibernate.dialect.lock中HibernateException的子类 修饰符和类型 类 说明 classLockingStrategyExceptionRepresents an error trying to apply aLockingStrategyto an entityclassOptimisticEntityLockExceptionRepresents an error trying to apply an optimisticLockingStrategyto an entityclassPessimisticEntityLockExceptionRepresents an error trying to apply a pessimisticLockingStrategyto an entity -
org.hibernate.engine.internal中HibernateException的使用
抛出HibernateException的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 CollectionEntryStatefulPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)voidStatefulPersistenceContext. addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)voidStatefulPersistenceContext. addNewCollection(CollectionPersister persister, PersistentCollection collection)static intParameterBinder. bindQueryParameters(PreparedStatement st, QueryParameters queryParameters, int start, ParameterBinder.NamedParameterSource source, SessionImplementor session)Perform parameter bindingstatic voidCascade. cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent)Cascade an action from the parent entity instance to all its children.static voidCascade. cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, Object anything)Cascade an action from the parent entity instance to all its children.voidStatefulPersistenceContext. checkUniqueness(EntityKey key, Object object)Object[]StatefulPersistenceContext. getDatabaseSnapshot(Serializable id, EntityPersister persister)Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowObject[]StatefulPersistenceContext. getNaturalIdSnapshot(Serializable id, EntityPersister persister)voidStatefulPersistenceContext. initializeNonLazyCollections()ObjectStatefulPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)ObjectStatefulPersistenceContext. proxyFor(Object impl)ObjectStatefulPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)ObjectStatefulPersistenceContext. unproxy(Object maybeProxy)ObjectStatefulPersistenceContext. unproxyAndReassociate(Object maybeProxy) -
org.hibernate.engine.jdbc.dialect.internal中HibernateException的使用
抛出HibernateException的org.hibernate.engine.jdbc.dialect.internal中的方法 修饰符和类型 方法 说明 DialectDialectFactoryImpl. buildDialect(Map configValues, DialectResolutionInfoSource resolutionInfoSource) -
org.hibernate.engine.jdbc.dialect.spi中HibernateException的使用
抛出HibernateException的org.hibernate.engine.jdbc.dialect.spi中的方法 修饰符和类型 方法 说明 DialectDialectFactory. buildDialect(Map configValues, DialectResolutionInfoSource resolutionInfoSource)Builds an appropriate Dialect instance. -
org.hibernate.engine.jndi中HibernateException的使用
org.hibernate.engine.jndi中HibernateException的子类 修饰符和类型 类 说明 classJndiExceptionAn exception indicating trouble accessing JNDIclassJndiNameExceptionIndicates a problem with a given JNDI name being deemed as not valid. -
org.hibernate.engine.query中HibernateException的使用
org.hibernate.engine.query中HibernateException的子类 修饰符和类型 类 说明 classParameterRecognitionExceptionIndicates a problem during parameter recognition viaParamLocationRecognizer -
org.hibernate.engine.query.spi中HibernateException的使用
抛出HibernateException的org.hibernate.engine.query.spi中的方法 修饰符和类型 方法 说明 intHQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Coordinates the efforts to perform an execution across all the included query translators.intNativeSQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Performs the execute queryIteratorHQLQueryPlan. performIterate(QueryParameters queryParameters, EventSource session)Coordinates the efforts to perform an iterate across all the included query translators.ListHQLQueryPlan. performList(QueryParameters queryParameters, SharedSessionContractImplementor session)Coordinates the efforts to perform a list across all the included query translators.ScrollableResultsImplementorHQLQueryPlan. performScroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Coordinates the efforts to perform a scroll across all the included query translators. -
org.hibernate.engine.spi中HibernateException的使用
参数类型为HibernateException的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 RuntimeExceptionExceptionConverter. convert(HibernateException e)Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.RuntimeExceptionExceptionConverter. convert(HibernateException e, LockOptions lockOptions)Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.抛出HibernateException的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 CollectionEntryPersistenceContext. addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)add a collection we just pulled out of the cache (does not need initializing)voidPersistenceContext. addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)add an (initialized) collection that was created by another session and passed into update() (ie. one with a snapshot and existing state on the database)voidPersistenceContext. addNewCollection(CollectionPersister persister, PersistentCollection collection)Add a new collection (ie. a newly created one, just instantiated by the application, with no database state or snapshot)voidSessionDelegatorBaseImpl. cancelQuery()voidCascadingAction. cascade(EventSource session, Object child, String entityName, Object anything, boolean isCascadeDeleteEnabled)Cascade the action to the child object.voidPersistenceContext. checkUniqueness(EntityKey key, Object object)Attempts to check whether the given key represents an entity already loaded within the current session.voidSessionDelegatorBaseImpl. close()voidSessionFactoryDelegatingImpl. close()<T> TSessionDelegatorBaseImpl. doReturningWork(ReturningWork<T> work)voidSessionDelegatorBaseImpl. doWork(Work work)default voidCacheImplementor. evictQueries()已过时。Clean up the default query cachevoidActionQueue. executeActions()Perform all currently queued actions.voidActionQueue. executeInserts()Perform all currently queued entity-insertion actions.intSessionDelegatorBaseImpl. executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)intSharedSessionContractImplementor. executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)Execute a native SQL update or delete queryintSessionDelegatorBaseImpl. executeUpdate(String query, QueryParameters queryParameters)intSharedSessionContractImplementor. executeUpdate(String query, QueryParameters queryParameters)Execute a HQL update or delete queryvoidSessionDelegatorBaseImpl. forceFlush(EntityEntry e)voidSessionImplementor. forceFlush(EntityEntry e)SessionSessionFactoryDelegatingImpl. getCurrentSession()EntityPersisterSessionDelegatorBaseImpl. getEntityPersister(String entityName, Object object)EntityPersisterSharedSessionContractImplementor. getEntityPersister(String entityName, Object object)Get the EntityPersister for any instanceObjectSessionDelegatorBaseImpl. getEntityUsingInterceptor(EntityKey key)ObjectSharedSessionContractImplementor. getEntityUsingInterceptor(EntityKey key)Get the entity instance associated with the given Key, calling the Interceptor if necessaryFilterDefinitionSessionFactoryDelegatingImpl. getFilterDefinition(String filterName)CollectionCollectionEntry. getOrphans(String entityName, PersistentCollection collection)Get the collection orphans (entities which were removed from the collection)default QueryCacheCacheImplementor. getQueryCache(String regionName)已过时。UseCacheImplementor.getQueryResultsCache(String)instead, but using unqualified nameString[]SessionFactoryDelegatingImpl. getReturnAliases(String queryString)Type[]SessionFactoryDelegatingImpl. getReturnTypes(String queryString)StringSessionDelegatorBaseImpl. guessEntityName(Object entity)StringSharedSessionContractImplementor. guessEntityName(Object entity)The guessed entity name for an entity not in an associationObjectSessionDelegatorBaseImpl. immediateLoad(String entityName, Serializable id)ObjectSharedSessionContractImplementor. immediateLoad(String entityName, Serializable id)Load an instance immediately.voidSessionDelegatorBaseImpl. initializeCollection(PersistentCollection collection, boolean writing)voidSharedSessionContractImplementor. initializeCollection(PersistentCollection collection, boolean writing)Initialize the collection (if not already initialized)voidPersistenceContext. initializeNonLazyCollections()Force initialization of all non-lazy collections encountered during the current two-phase load (actually, this is a no-op, unless this is the "outermost" load)ObjectSessionDelegatorBaseImpl. instantiate(String entityName, Serializable id)ObjectSessionDelegatorBaseImpl. instantiate(EntityPersister persister, Serializable id)ObjectSessionImplementor. instantiate(EntityPersister persister, Serializable id)ObjectSharedSessionContractImplementor. instantiate(String entityName, Serializable id)Instantiate the entity class, initializing with the given identifierObjectSessionDelegatorBaseImpl. internalLoad(String entityName, Serializable id, boolean eager, boolean nullable)ObjectSharedSessionContractImplementor. internalLoad(String entityName, Serializable id, boolean eager, boolean nullable)Load an instance without checking if it was deleted.booleanSessionDelegatorBaseImpl. isDirty()IteratorSessionDelegatorBaseImpl. iterate(String query, QueryParameters queryParameters)IteratorSharedSessionContractImplementor. iterate(String query, QueryParameters queryParameters)Execute an iterate() queryIteratorSessionDelegatorBaseImpl. iterateFilter(Object collection, String filter, QueryParameters queryParameters)IteratorSharedSessionContractImplementor. iterateFilter(Object collection, String filter, QueryParameters queryParameters)Iterate a filterListSessionDelegatorBaseImpl. list(String query, QueryParameters queryParameters)ListSessionDelegatorBaseImpl. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ListSharedSessionContractImplementor. list(String query, QueryParameters queryParameters)Execute a find() queryListSharedSessionContractImplementor. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)Execute a native SQL query, and return the results as a fully built list.ListSessionDelegatorBaseImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ListSharedSessionContractImplementor. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)Execute an SQL QueryListSessionDelegatorBaseImpl. listFilter(Object collection, String filter, QueryParameters queryParameters)ListSharedSessionContractImplementor. listFilter(Object collection, String filter, QueryParameters queryParameters)Execute a filtervoidSessionDelegatorBaseImpl. merge(String entityName, Object object, Map copiedAlready)voidSessionImplementor. merge(String entityName, Object object, Map copiedAlready)已过时。OperationalContext should cover this overload I believe; Gail?ObjectPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy and overwrite the registration of the old one.SessionSessionFactoryDelegatingImpl. openSession()SessionSessionFactoryDelegatingImpl. openTemporarySession()SessionSessionFactoryImplementor. openTemporarySession()Get a non-transactional "current" session (used by hibernate-envers)voidSessionDelegatorBaseImpl. persist(String entityName, Object object, Map createdAlready)voidSessionImplementor. persist(String entityName, Object object, Map createdAlready)已过时。OperationalContext should cover this overload I believe; Gail?voidCollectionEntry. postFlush(PersistentCollection collection)Called after a successful flushvoidCollectionEntry. postInitialize(PersistentCollection collection)voidCollectionEntry. preFlush(PersistentCollection collection)voidActionQueue. prepareActions()Prepares the internal action queues for execution.ObjectPersistenceContext. proxyFor(Object impl)Return the existing proxy associated with the given EntityKey, or the argument (the entity associated with the key) if no proxy exists.ObjectPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)Return the existing proxy associated with the given EntityKey, or the third argument (the entity associated with the key) if no proxy exists.voidSessionDelegatorBaseImpl. refresh(String entityName, Object object, Map refreshedAlready)voidSessionImplementor. refresh(String entityName, Object object, Map refreshedAlready)已过时。OperationalContext should cover this overload I believe; Gail?ScrollableResultsImplementorSessionDelegatorBaseImpl. scroll(String query, QueryParameters queryParameters)ScrollableResultsImplementorSessionDelegatorBaseImpl. scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ScrollableResultsImplementorSharedSessionContractImplementor. scroll(String query, QueryParameters queryParameters)Execute a scroll() queryScrollableResultsImplementorSessionDelegatorBaseImpl. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ScrollableResultsImplementorSharedSessionContractImplementor. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)Execute an SQL QueryvoidQueryParameters. traceParameters(SessionFactoryImplementor factory)ObjectPersistenceContext. unproxy(Object maybeProxy)Get the entity instance underlying the given proxy, throwing an exception if the proxy is uninitialized.ObjectPersistenceContext. unproxyAndReassociate(Object maybeProxy)Possibly unproxy the given reference and reassociate it with the current session. -
org.hibernate.engine.transaction.internal中HibernateException的使用
org.hibernate.engine.transaction.internal中HibernateException的子类 修饰符和类型 类 说明 classNullSynchronizationExceptionIndicates an attempt to register a null synchronization.抛出HibernateException的org.hibernate.engine.transaction.internal中的方法 修饰符和类型 方法 说明 voidTransactionImpl. registerSynchronization(javax.transaction.Synchronization synchronization) -
org.hibernate.engine.transaction.jta.platform.spi中HibernateException的使用
org.hibernate.engine.transaction.jta.platform.spi中HibernateException的子类 修饰符和类型 类 说明 classJtaPlatformExceptionIndicates a problem interacting with the underlying JTA platform. -
org.hibernate.engine.transaction.spi中HibernateException的使用
抛出HibernateException的org.hibernate.engine.transaction.spi中的方法 修饰符和类型 方法 说明 <T> TIsolationDelegate. delegateCallable(Callable<T> callable, boolean transacted)Invoke the given callable in isolation from current transaction.<T> TIsolationDelegate. delegateWork(WorkExecutorVisitable<T> work, boolean transacted)Perform the given work in isolation from current transaction. -
org.hibernate.event.internal中HibernateException的使用
抛出HibernateException的org.hibernate.event.internal中的方法 修饰符和类型 方法 说明 protected voidDefaultDeleteEventListener. cascadeAfterDelete(EventSource session, EntityPersister persister, Object entity, Set transientEntities)protected voidDefaultMergeEventListener. cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)Cascade behavior is redefined by this subclass, disable superclass behaviorprotected voidDefaultDeleteEventListener. cascadeBeforeDelete(EventSource session, EntityPersister persister, Object entity, EntityEntry entityEntry, Set transientEntities)protected voidDefaultMergeEventListener. cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, Object anything)Cascade behavior is redefined by this subclass, disable superclass behaviorvoidDefaultFlushEntityEventListener. checkId(Object object, EntityPersister persister, Serializable id, SessionImplementor session)make sure user didn't mangle the idprotected voidDefaultFlushEntityEventListener. dirtyCheck(FlushEntityEvent event)Perform a dirty check, and attach the results to the eventprotected voidDefaultEvictEventListener. doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)protected SerializableDefaultSaveOrUpdateEventListener. entityIsPersistent(SaveOrUpdateEvent event)protected voidAbstractFlushingEventListener. flushEverythingToExecutions(FlushEvent event)Coordinates the processing necessary to get things ready for executions as db calls by preping the session caches and moving the appropriate entities and collections to their respective execution queues.protected SerializableDefaultUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, SessionImplementor session)If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instanceprotected booleanDefaultFlushEntityEventListener. isUpdateNecessary(FlushEntityEvent event)Performs all necessary checking to determine if an entity needs an SQL update to synchronize its state to the database.voidDefaultAutoFlushEventListener. onAutoFlush(AutoFlushEvent event)Handle the given auto-flush event.voidDefaultDeleteEventListener. onDelete(DeleteEvent event)Handle the given delete event.voidDefaultDeleteEventListener. onDelete(DeleteEvent event, Set transientEntities)Handle the given delete event.voidDefaultDirtyCheckEventListener. onDirtyCheck(DirtyCheckEvent event)Handle the given dirty-check event.voidDefaultEvictEventListener. onEvict(EvictEvent event)Handle the given evict event.voidDefaultFlushEventListener. onFlush(FlushEvent event)Handle the given flush event.voidDefaultFlushEntityEventListener. onFlushEntity(FlushEntityEvent event)Flushes a single entity's state to the database, by scheduling an update action, if necessaryvoidDefaultInitializeCollectionEventListener. onInitializeCollection(InitializeCollectionEvent event)called by a collection that wants to initialize itselfvoidDefaultLoadEventListener. onLoad(LoadEvent event, LoadEventListener.LoadType loadType)Handle the given load event.voidDefaultLockEventListener. onLock(LockEvent event)Handle the given lock event.voidDefaultMergeEventListener. onMerge(MergeEvent event)Handle the given merge event.voidDefaultMergeEventListener. onMerge(MergeEvent event, Map copiedAlready)Handle the given merge event.voidDefaultPersistEventListener. onPersist(PersistEvent event)Handle the given create event.voidDefaultPersistEventListener. onPersist(PersistEvent event, Map createCache)Handle the given create event.voidDefaultRefreshEventListener. onRefresh(RefreshEvent event)voidDefaultResolveNaturalIdEventListener. onResolveNaturalId(ResolveNaturalIdEvent event)protected voidDefaultSaveOrUpdateEventListener. performUpdate(SaveOrUpdateEvent event, Object entity, EntityPersister persister)protected voidAbstractFlushingEventListener. postFlush(SessionImplementor session)1.voidAbstractVisitor. process(Object object, EntityPersister persister)Walk the tree starting from the given entity.voidWrapVisitor. process(Object object, EntityPersister persister)ObjectOnLockVisitor. processCollection(Object collection, CollectionType type)ObjectOnReplicateVisitor. processCollection(Object collection, CollectionType type)voidAbstractVisitor. processEntityPropertyValues(Object[] values, Type[] types)Dispatch each property value to processValue().protected voidProxyVisitor. reattachCollection(PersistentCollection collection, CollectionType type)Reattach a detached (disassociated) initialized or uninitialized collection wrapper, using a snapshot carried with the collection wrapper -
org.hibernate.event.service.spi中HibernateException的使用
org.hibernate.event.service.spi中HibernateException的子类 修饰符和类型 类 说明 classEventListenerRegistrationExceptionIndicates a problem registering an event listener. -
org.hibernate.event.spi中HibernateException的使用
抛出HibernateException的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 voidEventSource. forceFlush(EntityEntry e)Force an immediate flushObjectEventSource. instantiate(EntityPersister persister, Serializable id)Instantiate an entity instance, using either an interceptor, or the given persistervoidEventSource. merge(String entityName, Object object, Map copiedAlready)Cascade merge an entity instancevoidAutoFlushEventListener. onAutoFlush(AutoFlushEvent event)Handle the given auto-flush event.voidDeleteEventListener. onDelete(DeleteEvent event)Handle the given delete event.voidDeleteEventListener. onDelete(DeleteEvent event, Set transientEntities)voidDirtyCheckEventListener. onDirtyCheck(DirtyCheckEvent event)Handle the given dirty-check event.voidEvictEventListener. onEvict(EvictEvent event)Handle the given evict event.voidFlushEventListener. onFlush(FlushEvent event)Handle the given flush event.voidFlushEntityEventListener. onFlushEntity(FlushEntityEvent event)voidInitializeCollectionEventListener. onInitializeCollection(InitializeCollectionEvent event)voidLoadEventListener. onLoad(LoadEvent event, LoadEventListener.LoadType loadType)Handle the given load event.voidLockEventListener. onLock(LockEvent event)Handle the given lock event.voidMergeEventListener. onMerge(MergeEvent event)Handle the given merge event.voidMergeEventListener. onMerge(MergeEvent event, Map copiedAlready)Handle the given merge event.voidPersistEventListener. onPersist(PersistEvent event)Handle the given create event.voidPersistEventListener. onPersist(PersistEvent event, Map createdAlready)Handle the given create event.voidRefreshEventListener. onRefresh(RefreshEvent event)Handle the given refresh event.voidRefreshEventListener. onRefresh(RefreshEvent event, Map refreshedAlready)voidReplicateEventListener. onReplicate(ReplicateEvent event)Handle the given replicate event.voidResolveNaturalIdEventListener. onResolveNaturalId(ResolveNaturalIdEvent event)Handle the given resolve natural id event.voidSaveOrUpdateEventListener. onSaveOrUpdate(SaveOrUpdateEvent event)Handle the given update event.voidEventSource. persist(String entityName, Object object, Map createdAlready)Cascade persist an entity instancevoidEventSource. refresh(String entityName, Object object, Map refreshedAlready)Cascade refresh an entity instance -
org.hibernate.exception中HibernateException的使用
org.hibernate.exception中HibernateException的子类 修饰符和类型 类 说明 classConstraintViolationExceptionImplementation of JDBCException indicating that the requested DML operation resulted in a violation of a defined integrity constraint.classDataExceptionImplementation of JDBCException indicating that evaluation of the valid SQL statement against the given data resulted in some illegal operation, mismatched types or incorrect cardinality.classGenericJDBCExceptionGeneric, non-specific JDBCException.classJDBCConnectionExceptionImplementation of JDBCException indicating problems with communicating with the database (can also include incorrect JDBC setup).classLockAcquisitionExceptionImplementation of JDBCException indicating a problem acquiring lock on the database.classLockTimeoutExceptionclassSQLGrammarExceptionImplementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc). -
org.hibernate.exception.spi中HibernateException的使用
抛出HibernateException的org.hibernate.exception.spi中的方法 修饰符和类型 方法 说明 static SQLExceptionConverterSQLExceptionConverterFactory. buildSQLExceptionConverter(Dialect dialect, Properties properties)Build a SQLExceptionConverter instance.voidConfigurable. configure(Properties properties)Configure the component, using the given settings and properties. -
org.hibernate.graph中HibernateException的使用
org.hibernate.graph中HibernateException的子类 修饰符和类型 类 说明 classCannotBecomeEntityGraphExceptionIndicates an illegal attempt to make aGraphbecome anEntityGraphviaGraph.makeRootGraph(String, boolean).classCannotContainSubGraphExceptionIndicates an attempt was made to add a (key)?classInvalidGraphExceptionThrown byGraphParserto indicate textual entity graph representation parsing errors. -
org.hibernate.hikaricp.internal中HibernateException的使用
抛出HibernateException的org.hibernate.hikaricp.internal中的方法 修饰符和类型 方法 说明 voidHikariCPConnectionProvider. configure(Map props) -
org.hibernate.hql.internal中HibernateException的使用
org.hibernate.hql.internal中HibernateException的子类 修饰符和类型 类 说明 classQueryExecutionRequestExceptionExpecting to execute an illegal operation regarding the query type -
org.hibernate.hql.internal.ast中HibernateException的使用
org.hibernate.hql.internal.ast中HibernateException的子类 修饰符和类型 类 说明 classInvalidWithClauseExceptionIndicates an issue with the encountered with-clause.classQuerySyntaxExceptionException thrown when there is a syntax error in the HQL.抛出HibernateException的org.hibernate.hql.internal.ast中的方法 修饰符和类型 方法 说明 intQueryTranslatorImpl. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)IteratorQueryTranslatorImpl. iterate(QueryParameters queryParameters, EventSource session)Return the query results as an iteratorListQueryTranslatorImpl. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryTranslatorImpl. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResultsvoidQueryTranslatorImpl. validateScrollability() -
org.hibernate.hql.internal.ast.exec中HibernateException的使用
抛出HibernateException的org.hibernate.hql.internal.ast.exec中的方法 修饰符和类型 方法 说明 protected intBasicExecutor. doExecute(QueryParameters parameters, SharedSessionContractImplementor session, String sql, List parameterSpecifications)intBasicExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intDeleteExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intMultiTableDeleteExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intMultiTableUpdateExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intStatementExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)Execute the sql managed by this executor using the given parameters. -
org.hibernate.hql.internal.classic中HibernateException的使用
抛出HibernateException的org.hibernate.hql.internal.classic中的方法 修饰符和类型 方法 说明 intQueryTranslatorImpl. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)protected ObjectQueryTranslatorImpl. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)protected Object[]QueryTranslatorImpl. getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)IteratorQueryTranslatorImpl. iterate(QueryParameters queryParameters, EventSource session)Return the query results as an iteratorListQueryTranslatorImpl. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryTranslatorImpl. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)voidQueryTranslatorImpl. validateScrollability() -
org.hibernate.hql.spi中HibernateException的使用
抛出HibernateException的org.hibernate.hql.spi中的方法 修饰符和类型 方法 说明 intQueryTranslator. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Perform a bulk update/delete operation given the underlying query definition.IteratorQueryTranslator. iterate(QueryParameters queryParameters, EventSource session)Perform an iterate operation given the underlying query definition.ListQueryTranslator. list(SharedSessionContractImplementor session, QueryParameters queryParameters)Perform a list operation given the underlying query definition.ScrollableResultsImplementorQueryTranslator. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Perform a scroll operation given the underlying query definition.voidQueryTranslator. validateScrollability()Validate the scrollability of the translated query. -
org.hibernate.id中HibernateException的使用
org.hibernate.id中HibernateException的子类 修饰符和类型 类 说明 classIdentifierGenerationExceptionThrown by IdentifierGenerator implementation class when ID generation fails.抛出HibernateException的org.hibernate.id中的方法 修饰符和类型 方法 说明 SerializableAssigned. generate(SharedSessionContractImplementor session, Object obj)SerializableCompositeNestedGeneratedValueGenerator. generate(SharedSessionContractImplementor session, Object object)SerializableGUIDGenerator. generate(SharedSessionContractImplementor session, Object obj)SerializableIdentifierGenerator. generate(SharedSessionContractImplementor session, Object object)Generate a new identifier.SerializableIncrementGenerator. generate(SharedSessionContractImplementor session, Object object)SerializableUUIDGenerator. generate(SharedSessionContractImplementor session, Object object)static SerializableIdentifierGeneratorHelper. getGeneratedIdentity(ResultSet rs, String identifier, Type type, Dialect dialect)Get the generated identifier when using identity columnsInsertGeneratedIdentifierDelegateIdentityGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)InsertGeneratedIdentifierDelegatePostInsertIdentifierGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)InsertGeneratedIdentifierDelegateSelectGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)InsertGeneratedIdentifierDelegateSequenceIdentityGenerator. getInsertGeneratedIdentifierDelegate(PostInsertIdentityPersister persister, Dialect dialect, boolean isGetGeneratedKeysEnabled)已过时。String[]MultipleHiLoPerTableGenerator. sqlCreateStrings(Dialect dialect)已过时。String[]PersistentIdentifierGenerator. sqlCreateStrings(Dialect dialect)已过时。Utilize the ExportableProducer contract insteadString[]SequenceGenerator. sqlCreateStrings(Dialect dialect)已过时。String[]MultipleHiLoPerTableGenerator. sqlDropStrings(Dialect dialect)已过时。String[]PersistentIdentifierGenerator. sqlDropStrings(Dialect dialect)已过时。Utilize the ExportableProducer contract insteadString[]SequenceGenerator. sqlDropStrings(Dialect dialect)已过时。 -
org.hibernate.id.enhanced中HibernateException的使用
抛出HibernateException的org.hibernate.id.enhanced中的方法 修饰符和类型 方法 说明 SerializableSequenceStyleGenerator. generate(SharedSessionContractImplementor session, Object object)String[]SequenceStructure. sqlCreateStrings(Dialect dialect)String[]SequenceStyleGenerator. sqlCreateStrings(Dialect dialect)String[]TableGenerator. sqlCreateStrings(Dialect dialect)String[]TableStructure. sqlCreateStrings(Dialect dialect)String[]SequenceStructure. sqlDropStrings(Dialect dialect)String[]SequenceStyleGenerator. sqlDropStrings(Dialect dialect)String[]TableGenerator. sqlDropStrings(Dialect dialect)String[]TableStructure. sqlDropStrings(Dialect dialect) -
org.hibernate.internal中HibernateException的使用
返回HibernateException的org.hibernate.internal中的方法 修饰符和类型 方法 说明 HibernateExceptionCoreMessageLogger. usingStoppedClassLoaderService()参数类型为HibernateException的org.hibernate.internal中的方法 修饰符和类型 方法 说明 RuntimeExceptionExceptionConverterImpl. convert(HibernateException e)RuntimeExceptionExceptionConverterImpl. convert(HibernateException e, LockOptions lockOptions)voidCoreMessageLogger. namedQueryError(String queryName, HibernateException e)voidCoreMessageLogger. unableToCloseSession(HibernateException e)voidCoreMessageLogger. unableToCloseSessionButSwallowingError(HibernateException e)voidCoreMessageLogger. unableToConfigureSqlExceptionConverter(HibernateException e)voidCoreMessageLogger. unableToCreateProxyFactory(String entityName, HibernateException e)voidCoreMessageLogger. unableToLoadCommand(HibernateException e)voidCoreMessageLogger. unableToSynchronizeDatabaseStateWithSession(HibernateException he)protected javax.persistence.PersistenceExceptionExceptionConverterImpl. wrapLockException(HibernateException e, LockOptions lockOptions)抛出HibernateException的org.hibernate.internal中的方法 修饰符和类型 方法 说明 protected booleanSessionImpl. autoFlushIfRequired(Set querySpaces)detect in-memory changes, determine if the changes are to tables named in the query and, if so, complete execution the flushvoidSessionImpl. cancelQuery()voidSessionFactoryImpl. close()Closes the session factory, releasing all held resources.voidSessionImpl. close()voidSessionImpl. closeWithoutOpenChecks()ConnectionSessionImpl. connection()CriteriaCriteriaImpl. createAlias(String associationPath, String alias, int joinType)CriteriaCriteriaImpl. createAlias(String associationPath, String alias, int joinType, Criterion withClause)CriteriaCriteriaImpl.Subcriteria. createAlias(String associationPath, String alias, int joinType)CriteriaCriteriaImpl.Subcriteria. createAlias(String associationPath, String alias, int joinType, Criterion withClause)CriteriaCriteriaImpl.Subcriteria. createAlias(String associationPath, String alias, JoinType joinType)CriteriaCriteriaImpl.Subcriteria. createAlias(String associationPath, String alias, JoinType joinType, Criterion withClause)CriteriaCriteriaImpl. createCriteria(String associationPath, int joinType)CriteriaCriteriaImpl. createCriteria(String associationPath, String alias, int joinType)CriteriaCriteriaImpl. createCriteria(String associationPath, String alias, int joinType, Criterion withClause)CriteriaCriteriaImpl.Subcriteria. createCriteria(String associationPath, int joinType)CriteriaCriteriaImpl.Subcriteria. createCriteria(String associationPath, String alias, int joinType)CriteriaCriteriaImpl.Subcriteria. createCriteria(String associationPath, String alias, int joinType, Criterion withClause)CriteriaCriteriaImpl.Subcriteria. createCriteria(String associationPath, String alias, JoinType joinType)CriteriaCriteriaImpl.Subcriteria. createCriteria(String associationPath, String alias, JoinType joinType, Criterion withClause)CriteriaCriteriaImpl.Subcriteria. createCriteria(String associationPath, JoinType joinType)voidSessionImpl. delete(Object object)voidSessionImpl. delete(String entityName, Object object)voidSessionImpl. delete(String entityName, Object object, boolean isCascadeDeleteEnabled, Set transientEntities)ConnectionSessionImpl. disconnect()<T> TAbstractSharedSessionContract. doReturningWork(ReturningWork<T> work)voidAbstractSharedSessionContract. doWork(Work work)voidSessionImpl. evict(Object object)remove any hard references to the entity that are held by the infrastructure (references held by application or other persistent instances are okay)intSessionImpl. executeNativeUpdate(NativeSQLQuerySpecification nativeQuerySpecification, QueryParameters queryParameters)intStatelessSessionImpl. executeNativeUpdate(NativeSQLQuerySpecification nativeSQLQuerySpecification, QueryParameters queryParameters)intSessionImpl. executeUpdate(String query, QueryParameters queryParameters)intStatelessSessionImpl. executeUpdate(String query, QueryParameters queryParameters)voidSessionImpl. flush()voidSessionImpl. forceFlush(EntityEntry entityEntry)Object[]AbstractScrollableResults. get()ObjectAbstractScrollableResults. get(int col)<T> TSessionImpl. get(Class<T> entityClass, Serializable id)<T> TSessionImpl. get(Class<T> entityClass, Serializable id, LockMode lockMode)<T> TSessionImpl. get(Class<T> entityClass, Serializable id, LockOptions lockOptions)ObjectSessionImpl. get(String entityName, Serializable id)ObjectSessionImpl. get(String entityName, Serializable id, LockMode lockMode)ObjectSessionImpl. get(String entityName, Serializable id, LockOptions lockOptions)Map<String,ClassMetadata>SessionFactoryImpl. getAllClassMetadata()MapSessionFactoryImpl. getAllCollectionMetadata()BigDecimalAbstractScrollableResults. getBigDecimal(int col)BigIntegerAbstractScrollableResults. getBigInteger(int col)byte[]AbstractScrollableResults. getBinary(int col)BlobAbstractScrollableResults. getBlob(int col)BooleanAbstractScrollableResults. getBoolean(int col)ByteAbstractScrollableResults. getByte(int col)CalendarAbstractScrollableResults. getCalendar(int col)CharacterAbstractScrollableResults. getCharacter(int col)ClassMetadataSessionFactoryImpl. getClassMetadata(Class persistentClass)ClassMetadataSessionFactoryImpl. getClassMetadata(String entityName)ClobAbstractScrollableResults. getClob(int col)CollectionMetadataSessionFactoryImpl. getCollectionMetadata(String roleName)LockModeSessionImpl. getCurrentLockMode(Object object)SessionSessionFactoryImpl. getCurrentSession()DateAbstractScrollableResults. getDate(int col)DoubleAbstractScrollableResults. getDouble(int col)EntityPersisterStatelessSessionImpl. getEntityPersister(String entityName, Object object)ObjectSessionImpl. getEntityUsingInterceptor(EntityKey key)ObjectStatelessSessionImpl. getEntityUsingInterceptor(EntityKey key)FilterDefinitionSessionFactoryImpl. getFilterDefinition(String filterName)protected ObjectAbstractScrollableResults. getFinal(int col, Type returnType)Check that the requested type is compatible with the result type, and return the column value.FloatAbstractScrollableResults. getFloat(int col)SerializableSessionImpl. getIdentifier(Object object)IntegerAbstractScrollableResults. getInteger(int col)LocaleAbstractScrollableResults. getLocale(int col)LongAbstractScrollableResults. getLong(int col)protected NativeSQLQueryPlanAbstractSharedSessionContract. getNativeQueryPlan(NativeSQLQuerySpecification spec)protected ObjectAbstractScrollableResults. getNonFinal(int col, Type returnType)Check that the requested type is compatible with the result type, and return the column value.protected HQLQueryPlanAbstractSharedSessionContract. getQueryPlan(String query, boolean shallow)String[]SessionFactoryImpl. getReturnAliases(String queryString)Type[]SessionFactoryImpl. getReturnTypes(String queryString)intScrollableResultsImpl. getRowNumber()ShortAbstractScrollableResults. getShort(int col)StringAbstractScrollableResults. getString(int col)StringAbstractScrollableResults. getText(int col)TimeZoneAbstractScrollableResults. getTimeZone(int col)TransactionAbstractSharedSessionContract. getTransaction()StringSessionImpl. guessEntityName(Object object)StringStatelessSessionImpl. guessEntityName(Object entity)ObjectSessionImpl. immediateLoad(String entityName, Serializable id)Load the data for the object with the specified id into a newly created object.ObjectStatelessSessionImpl. immediateLoad(String entityName, Serializable id)voidStatelessSessionImpl. initializeCollection(PersistentCollection collection, boolean writing)ObjectSessionImpl. instantiate(String entityName, Serializable id)ObjectSessionImpl. instantiate(EntityPersister persister, Serializable id)give the interceptor an opportunity to override the default instantiationObjectStatelessSessionImpl. instantiate(String entityName, Serializable id)ObjectStatelessSessionImpl. internalLoad(String entityName, Serializable id, boolean eager, boolean nullable)booleanSessionImpl. isDirty()IteratorSessionImpl. iterate(String query, QueryParameters queryParameters)IteratorStatelessSessionImpl. iterate(String query, QueryParameters queryParameters)IteratorStatelessSessionImpl. iterateFilter(Object collection, String filter, QueryParameters queryParameters)ListCriteriaImpl. list()ListCriteriaImpl.Subcriteria. list()ListSessionImpl. list(String query, QueryParameters queryParameters)ListSessionImpl. list(Criteria criteria)ListStatelessSessionImpl. list(String query, QueryParameters queryParameters)ListStatelessSessionImpl. list(Criteria criteria)ListStatelessSessionImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ListStatelessSessionImpl. listFilter(Object collection, String filter, QueryParameters queryParameters)<T> TSessionImpl. load(Class<T> entityClass, Serializable id)<T> TSessionImpl. load(Class<T> entityClass, Serializable id, LockMode lockMode)<T> TSessionImpl. load(Class<T> entityClass, Serializable id, LockOptions lockOptions)voidSessionImpl. load(Object object, Serializable id)ObjectSessionImpl. load(String entityName, Serializable id)ObjectSessionImpl. load(String entityName, Serializable id, LockMode lockMode)ObjectSessionImpl. load(String entityName, Serializable id, LockOptions lockOptions)voidSessionImpl. lock(Object object, LockMode lockMode)voidSessionImpl. lock(String entityName, Object object, LockMode lockMode)ObjectSessionImpl. merge(Object object)ObjectSessionImpl. merge(String entityName, Object object)voidSessionImpl. merge(String entityName, Object object, Map copiedAlready)ObjectIteratorImpl. next()SessionSessionFactoryImpl. openSession()SessionSessionFactoryImpl. openTemporarySession()voidSessionImpl. persist(Object object)voidSessionImpl. persist(String entityName, Object object)voidSessionImpl. persist(String entityName, Object object, Map copiedAlready)voidSessionImpl. reconnect(Connection conn)voidSessionImpl. refresh(Object object)voidSessionImpl. refresh(Object object, LockMode lockMode)voidSessionImpl. refresh(Object object, LockOptions lockOptions)voidSessionImpl. refresh(String entityName, Object object)voidSessionImpl. refresh(String entityName, Object object, Map refreshedAlready)voidSessionImpl. refresh(String entityName, Object object, LockOptions lockOptions)voidSessionImpl. replicate(Object obj, ReplicationMode replicationMode)voidSessionImpl. replicate(String entityName, Object obj, ReplicationMode replicationMode)SerializableSessionImpl. save(Object obj)SerializableSessionImpl. save(String entityName, Object object)voidSessionImpl. saveOrUpdate(Object object)voidSessionImpl. saveOrUpdate(String entityName, Object obj)ScrollableResultsCriteriaImpl.Subcriteria. scroll()ScrollableResultsCriteriaImpl.Subcriteria. scroll(ScrollMode scrollMode)ScrollableResultsImplementorSessionImpl. scroll(String query, QueryParameters queryParameters)ScrollableResultsImplementorStatelessSessionImpl. scroll(String query, QueryParameters queryParameters)ScrollableResultsImplementorStatelessSessionImpl. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)voidStatelessSessionImpl. setDefaultReadOnly(boolean readOnly)FilterFilterImpl. setParameterList(String name, Collection values)Set the named parameter's value list for this filter.booleanScrollableResultsImpl. setRowNumber(int rowNumber)ObjectCriteriaImpl.Subcriteria. uniqueResult()ObjectCriteriaImpl. uniqueResult()voidSessionImpl. update(Object obj)voidSessionImpl. update(String entityName, Object object)voidFilterImpl. validate()Perform validation of the filter state.抛出HibernateException的org.hibernate.internal中的构造器 构造器 说明 IteratorImpl(ResultSet rs, PreparedStatement ps, EventSource sess, boolean readOnly, Type[] types, String[][] columnNames, HolderInstantiator holderInstantiator) -
org.hibernate.internal.util中HibernateException的使用
抛出HibernateException的org.hibernate.internal.util中的方法 修饰符和类型 方法 说明 static InputStreamConfigHelper. getConfigStream(String path)已过时。Open an InputStream to the URL represented by the incoming path.voidEntityPrinter. toString(Iterable<Map.Entry<EntityKey,Object>> entitiesByEntityKey)StringEntityPrinter. toString(String entityName, Object entity)Renders an entity to a string.StringEntityPrinter. toString(Map<String,TypedValue> namedTypedValues)StringEntityPrinter. toString(Type[] types, Object[] values)voidCloneable. validate()Checks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null). -
org.hibernate.internal.util.beans中HibernateException的使用
org.hibernate.internal.util.beans中HibernateException的子类 修饰符和类型 类 说明 classBeanIntrospectionExceptionIndicates a problem dealing withBeanInfovia theBeanInfoHelperdelegate. -
org.hibernate.internal.util.config中HibernateException的使用
org.hibernate.internal.util.config中HibernateException的子类 修饰符和类型 类 说明 classConfigurationExceptionTODO : javadoc -
org.hibernate.internal.util.xml中HibernateException的使用
org.hibernate.internal.util.xml中HibernateException的子类 修饰符和类型 类 说明 classUnsupportedOrmXsdVersionException已过时。Migrating to boot package; all usages will eventually be replaced byUnsupportedOrmXsdVersionExceptionclassXmlInfrastructureExceptionAn error using XML infrastructure (jaxp, stax, etc).classXsdExceptionIndicates an issue finding or loading an XSD schema. -
org.hibernate.jdbc中HibernateException的使用
org.hibernate.jdbc中HibernateException的子类 修饰符和类型 类 说明 classBatchedTooManyRowsAffectedExceptionMuch likeTooManyRowsAffectedException, indicates that more rows than what we were expecting were affected.classBatchFailedExceptionIndicates a failed batch entry (-3 return).classTooManyRowsAffectedExceptionIndicates that more rows were affected then we were expecting to be.抛出HibernateException的org.hibernate.jdbc中的方法 修饰符和类型 方法 说明 intExpectation. prepare(PreparedStatement statement)Perform any special statement preparation.intExpectations.BasicExpectation. prepare(PreparedStatement statement)intExpectations.BasicParamExpectation. prepare(PreparedStatement statement)voidExpectation. verifyOutcome(int rowCount, PreparedStatement statement, int batchPosition)Perform verification of the outcome of the RDBMS operation based on the type of expectation defined. -
org.hibernate.jpa.internal.util中HibernateException的使用
org.hibernate.jpa.internal.util中HibernateException的子类 修饰符和类型 类 说明 static classPersistenceUtilHelper.AttributeExtractionException -
org.hibernate.loader中HibernateException的使用
org.hibernate.loader中HibernateException的子类 修饰符和类型 类 说明 classMultipleBagFetchExceptionException used to indicate that a query is attempting to simultaneously fetch multiplebags抛出HibernateException的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected StringLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)Append FOR UPDATE OF clause, if necessary.protected intLoader. bindNamedParameters(PreparedStatement statement, Map<String,TypedValue> namedParams, int startIndex, SharedSessionContractImplementor session)Bind named parameters to the JDBC prepared statement.protected intLoader. bindPositionalParameters(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.protected voidLoader. checkScrollability()Check whether the current loader can support returning ScrollableResults.protected ListLoader. doList(SharedSessionContractImplementor session, QueryParameters queryParameters)Actually execute a query, ignoring the query cacheListLoader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Execute an SQL query and attempt to instantiate instances of the class mapped by the given persister from each row of the ResultSet.ListLoader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, ResultTransformer forcedResultTransformer)protected ObjectLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)Get the actual object that is returned in the user-visible result list.protected Object[]Loader. getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)protected ResultSetLoader. getResultSet(CallableStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given CallableStatement, advance to the first result and return SQL ResultSet.protected ResultSetLoader. getResultSet(PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected ListLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters, Set<Serializable> querySpaces, Type[] resultTypes)Return the query results, using the query cache, called by subclasses that implement cacheable queriesvoidLoader. loadCollection(SharedSessionContractImplementor session, Serializable id, Type type)Called by subclasses that initialize collectionsvoidLoader. loadCollectionBatch(SharedSessionContractImplementor session, Serializable[] ids, Type type)Called by wrappers that batch initialize collectionsprotected voidLoader. loadCollectionSubselect(SharedSessionContractImplementor session, Serializable[] ids, Object[] parameterValues, Type[] parameterTypes, Map<String,TypedValue> namedParameters, Type type)Called by subclasses that batch initialize collectionsprotected ListLoader. loadEntity(SharedSessionContractImplementor session, Object key, Object index, Type keyType, Type indexType, EntityPersister persister)Called by subclasses that load entitiesprotected ListLoader. loadEntity(SharedSessionContractImplementor session, Object id, Type identifierType, Object optionalObject, String optionalEntityName, Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)Called by subclasses that load entitiesListLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions)Called by wrappers that batch load entitiesListLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)Called by wrappers that batch load entitiesObjectLoader. loadSequentialRowsForward(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Loads a single logical row from the result set moving forward.ObjectLoader. loadSequentialRowsReverse(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, boolean isLogicallyAfterLast)Loads a single logical row from the result set moving forward.ObjectLoader. loadSingleRow(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Loads a single row from the result set.protected PreparedStatementLoader. prepareQueryStatement(String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound.protected StringLoader. preprocessSQL(String sql, QueryParameters parameters, SessionFactoryImplementor sessionFactory, List<AfterLoadAction> afterLoadActions)Modify the SQL, adding lock hints and comments, if necessaryprotected ScrollableResultsImplementorLoader. scroll(QueryParameters queryParameters, Type[] returnTypes, HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResults -
org.hibernate.loader.collection中HibernateException的使用
抛出HibernateException的org.hibernate.loader.collection中的方法 修饰符和类型 方法 说明 voidCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session)Initialize the given collectionvoidCollectionLoader. initialize(Serializable id, SharedSessionContractImplementor session)voidDynamicBatchingCollectionInitializerBuilder.DynamicBatchingCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session)voidLegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session)voidSubselectCollectionLoader. initialize(Serializable id, SharedSessionContractImplementor session)voidSubselectOneToManyLoader. initialize(Serializable id, SharedSessionContractImplementor session) -
org.hibernate.loader.collection.plan中HibernateException的使用
抛出HibernateException的org.hibernate.loader.collection.plan中的方法 修饰符和类型 方法 说明 voidAbstractLoadPlanBasedCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session)voidLegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session) -
org.hibernate.loader.criteria中HibernateException的使用
抛出HibernateException的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 String[]CriteriaQueryTranslator. findColumns(String propertyName, Criteria subcriteria)Get the names of the columns mapped by a property path; if the property path is not found in subcriteria, try the "outer" query.String[]CriteriaQueryTranslator. getColumns(String propertyName, Criteria subcriteria)String[]CriteriaQueryTranslator. getColumnsUsingProjection(Criteria subcriteria, String propertyName)Get the names of the columns constrained by this criterion.protected ObjectCriteriaLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)protected Object[]CriteriaLoader. getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)TypeCriteriaQueryTranslator. getType(Criteria subcriteria, String propertyName)TypedValueCriteriaQueryTranslator. getTypedValue(Criteria subcriteria, String propertyName, Object value)Get the typed value for the given property value.TypeCriteriaQueryTranslator. getTypeUsingProjection(Criteria subcriteria, String propertyName)ListCriteriaLoader. list(SharedSessionContractImplementor session)ScrollableResultsImplementorCriteriaLoader. scroll(SharedSessionContractImplementor session, ScrollMode scrollMode)抛出HibernateException的org.hibernate.loader.criteria中的构造器 构造器 说明 CriteriaLoader(OuterJoinLoadable persister, SessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, LoadQueryInfluencers loadQueryInfluencers)CriteriaQueryTranslator(SessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias)CriteriaQueryTranslator(SessionFactoryImplementor factory, CriteriaImpl criteria, String rootEntityName, String rootSQLAlias, CriteriaQuery outerQuery) -
org.hibernate.loader.custom中HibernateException的使用
org.hibernate.loader.custom中HibernateException的子类 修饰符和类型 类 说明 classNonUniqueDiscoveredSqlAliasException -
org.hibernate.loader.custom.sql中HibernateException的使用
抛出HibernateException的org.hibernate.loader.custom.sql中的构造器 构造器 说明 SQLCustomQuery(String sqlQuery, NativeSQLQueryReturn[] queryReturns, Collection additionalQuerySpaces, SessionFactoryImplementor factory) -
org.hibernate.loader.entity中HibernateException的使用
抛出HibernateException的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)default ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ObjectCollectionElementLoader. loadElement(SharedSessionContractImplementor session, Object key, Object index)CacheEntityLoaderHelper.PersistenceContextEntryCacheEntityLoaderHelper. loadFromSessionCache(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options)Attempts to locate the entity in the session-level cache. -
org.hibernate.loader.entity.plan中HibernateException的使用
抛出HibernateException的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ListAbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions)Called by wrappers that batch load entitiesListAbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly) -
org.hibernate.loader.hql中HibernateException的使用
抛出HibernateException的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected ObjectQueryLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)protected Object[]QueryLoader. getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)IteratorQueryLoader. iterate(QueryParameters queryParameters, EventSource session)ListQueryLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)voidQueryLoader. validateScrollability() -
org.hibernate.loader.plan.exec.internal中HibernateException的使用
抛出HibernateException的org.hibernate.loader.plan.exec.internal中的方法 修饰符和类型 方法 说明 protected intAbstractLoadPlanBasedLoader. bindNamedParameters(PreparedStatement statement, Map namedParams, int startIndex, SharedSessionContractImplementor session)Bind named parameters to the JDBC prepared statement.protected intAbstractLoadPlanBasedLoader. bindPositionalParameters(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.protected ResultSetAbstractLoadPlanBasedLoader. getResultSet(PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected PreparedStatementAbstractLoadPlanBasedLoader. prepareQueryStatement(String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound. -
org.hibernate.loader.plan.spi中HibernateException的使用
org.hibernate.loader.plan.spi中HibernateException的子类 修饰符和类型 类 说明 classQuerySpaceUidNotRegisteredExceptionIndicates an attempt to lookup a QuerySpace by its uid, when no registration has been made under that uid. -
org.hibernate.mapping中HibernateException的使用
抛出HibernateException的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 StringColumn. getSqlType(Dialect dialect, Mapping mapping)IteratorTable. sqlAlterStrings(Dialect dialect, Metadata metadata, TableInformation tableInfo, Identifier defaultCatalog, Identifier defaultSchema)StringIndex. sqlCreateString(Dialect dialect, Mapping mapping, String defaultCatalog, String defaultSchema)StringRelationalModel. sqlCreateString(Dialect dialect, Mapping p, String defaultCatalog, String defaultSchema)已过时。 -
org.hibernate.metadata中HibernateException的使用
抛出HibernateException的org.hibernate.metadata中的方法 修饰符和类型 方法 说明 SerializableClassMetadata. getIdentifier(Object object)已过时。TypeClassMetadata. getPropertyType(String propertyName)Get the type of a particular (named) propertyObjectClassMetadata. getPropertyValue(Object object, String propertyName)Get the value of a particular (named) propertyObject[]ClassMetadata. getPropertyValues(Object entity)Extract the property values from the given entity.default Object[]ClassMetadata. getPropertyValuesToInsert(Object entity, Map mergeMap, SessionImplementor session)已过时。(since 5.3) Use the form accepting SharedSessionContractImplementor insteadObject[]ClassMetadata. getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session)Return the values of the mapped properties of the objectObjectClassMetadata. getVersion(Object object)Get the version number (or timestamp) from the object's version property (or return null if not versioned)voidClassMetadata. setPropertyValue(Object object, String propertyName, Object value)Set the value of a particular (named) propertyvoidClassMetadata. setPropertyValues(Object object, Object[] values)Set the given values to the mapped properties of the given object -
org.hibernate.metamodel.model.domain中HibernateException的使用
抛出HibernateException的org.hibernate.metamodel.model.domain中的方法 修饰符和类型 方法 说明 default booleanBasicDomainType. areEqual(J x, J y) -
org.hibernate.persister.collection中HibernateException的使用
抛出HibernateException的org.hibernate.persister.collection中的方法 修饰符和类型 方法 说明 voidAbstractCollectionPersister. deleteRows(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. deleteRows(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)Delete the persistent state of any elements that were removed from the collectionprotected voidAbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, Serializable key, int nextIndex, SharedSessionContractImplementor session)protected abstract voidAbstractCollectionPersister. doProcessQueuedOps(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)protected voidOneToManyPersister. doProcessQueuedOps(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)protected abstract intAbstractCollectionPersister. doUpdateRows(Serializable key, PersistentCollection collection, SharedSessionContractImplementor session)protected intBasicCollectionPersister. doUpdateRows(Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)voidAbstractCollectionPersister. initialize(Serializable key, SharedSessionContractImplementor session)voidCollectionPersister. initialize(Serializable key, SharedSessionContractImplementor session)Initialize the given collection with the given key TODO: add owner argument!!voidNamedQueryCollectionInitializer. initialize(Serializable key, SharedSessionContractImplementor session)voidAbstractCollectionPersister. insertRows(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. insertRows(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)Insert the persistent state of any new collection elementsvoidOneToManyPersister. insertRows(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)voidAbstractCollectionPersister. processQueuedOps(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)voidCollectionPersister. processQueuedOps(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)Process queued operations within the PersistentCollection.ObjectAbstractCollectionPersister. readElement(ResultSet rs, Object owner, String[] aliases, SharedSessionContractImplementor session)ObjectCollectionPersister. readElement(ResultSet rs, Object owner, String[] columnAliases, SharedSessionContractImplementor session)Read the element from a row of the JDBC ResultSetObjectAbstractCollectionPersister. readIdentifier(ResultSet rs, String alias, SharedSessionContractImplementor session)ObjectCollectionPersister. readIdentifier(ResultSet rs, String columnAlias, SharedSessionContractImplementor session)Read the identifier from a row of the JDBC ResultSetObjectAbstractCollectionPersister. readIndex(ResultSet rs, String[] aliases, SharedSessionContractImplementor session)ObjectCollectionPersister. readIndex(ResultSet rs, String[] columnAliases, SharedSessionContractImplementor session)Read the index from a row of the JDBC ResultSetObjectAbstractCollectionPersister. readKey(ResultSet rs, String[] aliases, SharedSessionContractImplementor session)ObjectCollectionPersister. readKey(ResultSet rs, String[] keyAliases, SharedSessionContractImplementor session)Read the key from a row of the JDBC ResultSetvoidAbstractCollectionPersister. recreate(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. recreate(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)(Re)create the collection's persistent statevoidOneToManyPersister. recreate(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)voidAbstractCollectionPersister. remove(Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. remove(Serializable id, SharedSessionContractImplementor session)Completely remove the persistent state of the collectionvoidAbstractCollectionPersister. updateRows(PersistentCollection collection, Serializable id, SharedSessionContractImplementor session)voidCollectionPersister. updateRows(PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)Update the persistent state of any elements that were modifiedprotected intAbstractCollectionPersister. writeElement(PreparedStatement st, Object elt, int i, SharedSessionContractImplementor session)Write the element to a JDBC PreparedStatementprotected intAbstractCollectionPersister. writeElementToWhere(PreparedStatement st, Object elt, int i, SharedSessionContractImplementor session)Write the element to a JDBC PreparedStatementintAbstractCollectionPersister. writeIdentifier(PreparedStatement st, Object id, int i, SharedSessionContractImplementor session)Write the identifier to a JDBC PreparedStatementprotected intAbstractCollectionPersister. writeIndex(PreparedStatement st, Object index, int i, SharedSessionContractImplementor session)Write the index to a JDBC PreparedStatementprotected intAbstractCollectionPersister. writeIndexToWhere(PreparedStatement st, Object index, int i, SharedSessionContractImplementor session)Write the index to a JDBC PreparedStatementprotected intAbstractCollectionPersister. writeKey(PreparedStatement st, Serializable key, int i, SharedSessionContractImplementor session)Write the key to a JDBC PreparedStatement -
org.hibernate.persister.entity中HibernateException的使用
抛出HibernateException的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected booleanAbstractEntityPersister. check(int rows, Serializable id, int tableNumber, Expectation expectation, PreparedStatement statement)ObjectAbstractEntityPersister. createProxy(Serializable id, SharedSessionContractImplementor session)ObjectEntityPersister. createProxy(Serializable id, SharedSessionContractImplementor session)Create a new proxy instanceObjectDiscriminatorType. deepCopy(Object value, SessionFactoryImplementor factory)intAbstractEntityPersister. dehydrate(Serializable id, Object[] fields, boolean[] includeProperty, boolean[][] includeColumns, int j, PreparedStatement st, SharedSessionContractImplementor session, boolean isUpdate)intAbstractEntityPersister. dehydrate(Serializable id, Object[] fields, Object rowId, boolean[] includeProperty, boolean[][] includeColumns, int j, PreparedStatement ps, SharedSessionContractImplementor session, int index, boolean isUpdate)Marshall the fields of a persistent instance to a prepared statementvoidAbstractEntityPersister. delete(Serializable id, Object version, int j, Object object, String sql, SharedSessionContractImplementor session, Object[] loadedState)Perform an SQL DELETEvoidAbstractEntityPersister. delete(Serializable id, Object version, Object object, SharedSessionContractImplementor session)Delete an objectvoidEntityPersister. delete(Serializable id, Object version, Object object, SharedSessionContractImplementor session)Delete a persistent instanceint[]AbstractEntityPersister. findDirty(Object[] currentState, Object[] previousState, Object entity, SharedSessionContractImplementor session)Locate the property-indices of all properties considered to be dirty.int[]AbstractEntityPersister. findModified(Object[] old, Object[] current, Object entity, SharedSessionContractImplementor session)Locate the property-indices of all properties considered to be dirty.ObjectEntityPersister. forceVersionIncrement(Serializable id, Object currentVersion, SharedSessionContractImplementor session)ObjectAbstractEntityPersister. getCurrentVersion(Serializable id, SharedSessionContractImplementor session)Retrieve the version numberObjectEntityPersister. getCurrentVersion(Serializable id, SharedSessionContractImplementor session)Get the current version of the object, or return null if there is no row for the given identifier.Object[]AbstractEntityPersister. getDatabaseSnapshot(Serializable id, SharedSessionContractImplementor session)Object[]EntityPersister. getDatabaseSnapshot(Serializable id, SharedSessionContractImplementor session)Get the current database state of the object, in a "hydrated" form, without resolving identifiersSerializableAbstractEntityPersister. getIdByUniqueKey(Serializable key, String uniquePropertyName, SharedSessionContractImplementor session)SerializableEntityPersister. getIdentifier(Object object)IdentifierGeneratorAbstractEntityPersister. getIdentifierGenerator()Object[]AbstractEntityPersister. getNaturalIdentifierSnapshot(Serializable id, SharedSessionContractImplementor session)ObjectEntityPersister. getPropertyValue(Object object, int i)Get the value of a particular propertyObject[]AbstractEntityPersister. getPropertyValuesToInsert(Object object, Map mergeMap, SharedSessionContractImplementor session)Object[]EntityPersister. getPropertyValuesToInsert(Object object, Map mergeMap, SharedSessionContractImplementor session)Return the values of the insertable properties of the object (including backrefs)ObjectEntityPersister. getVersion(Object object)Get the version number (or timestamp) from the object's version property (or return null if not versioned)Object[]AbstractEntityPersister. hydrate(ResultSet rs, Serializable id, Object object, Loadable rootLoadable, String[][] suffixedPropertyColumns, boolean allProperties, SharedSessionContractImplementor session)Unmarshal the fields of a persistent instance from a result set, without resolving associations or collections.Object[]Loadable. hydrate(ResultSet rs, Serializable id, Object object, Loadable rootLoadable, String[][] suffixedPropertyColumns, boolean allProperties, SharedSessionContractImplementor session)Retrieve property values from one row of a result setvoidAbstractEntityPersister. insert(Serializable id, Object[] fields, boolean[] notNull, int j, String sql, Object object, SharedSessionContractImplementor session)Perform an SQL INSERT.SerializableAbstractEntityPersister. insert(Object[] fields, boolean[] notNull, String sql, Object object, SharedSessionContractImplementor session)Perform an SQL INSERT, and then retrieve a generated identifier.SerializableAbstractEntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)voidEntityPersister. insert(Serializable id, Object[] fields, Object object, SharedSessionContractImplementor session)Persist an instanceSerializableEntityPersister. insert(Object[] fields, Object object, SharedSessionContractImplementor session)Persist an instance, using a natively generated identifier (optional operation)booleanDiscriminatorType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)BooleanAbstractEntityPersister. isTransient(Object entity, SharedSessionContractImplementor session)BooleanEntityPersister. isTransient(Object object, SharedSessionContractImplementor session)Is this a new transient instance?ObjectAbstractEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)Load an instance using either the forUpdateLoader or the outer joining loader, depending upon the value of the lock parameterObjectAbstractEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly)ObjectEntityPersister. load(Serializable id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session)Load an instance of the persistent class.default ObjectEntityPersister. load(Serializable id, Object optionalObject, LockMode lockMode, SharedSessionContractImplementor session, Boolean readOnly)ObjectEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session)Load an instance of the persistent class.default ObjectEntityPersister. load(Serializable id, Object optionalObject, LockOptions lockOptions, SharedSessionContractImplementor session, Boolean readOnly)ObjectAbstractEntityPersister. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)voidAbstractEntityPersister. lock(Serializable id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session)voidAbstractEntityPersister. lock(Serializable id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session)voidEntityPersister. lock(Serializable id, Object version, Object object, LockMode lockMode, SharedSessionContractImplementor session)Do a version check (optional operation)voidEntityPersister. lock(Serializable id, Object version, Object object, LockOptions lockOptions, SharedSessionContractImplementor session)Do a version check (optional operation)ObjectDiscriminatorType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectDiscriminatorType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)voidDiscriminatorType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidDiscriminatorType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)ObjectDiscriminatorType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)StringDiscriminatorType. toLoggableString(Object value, SessionFactoryImplementor factory)voidAbstractEntityPersister. update(Serializable id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)Update an objectbooleanAbstractEntityPersister. update(Serializable id, Object[] fields, Object[] oldFields, Object rowId, boolean[] includeProperty, int j, Object oldVersion, Object object, String sql, SharedSessionContractImplementor session)voidEntityPersister. update(Serializable id, Object[] fields, int[] dirtyFields, boolean hasDirtyCollection, Object[] oldFields, Object oldVersion, Object object, Object rowId, SharedSessionContractImplementor session)Update a persistent instancevoidAbstractEntityPersister. updateOrInsert(Serializable id, Object[] fields, Object[] oldFields, Object rowId, boolean[] includeProperty, int j, Object oldVersion, Object object, String sql, SharedSessionContractImplementor session)Perform an SQL UPDATE or SQL INSERT抛出HibernateException的org.hibernate.persister.entity中的构造器 构造器 说明 AbstractEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)JoinedSubclassEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)SingleTableEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext)UnionSubclassEntityPersister(PersistentClass persistentClass, EntityDataAccess cacheAccessStrategy, NaturalIdDataAccess naturalIdRegionAccessStrategy, PersisterCreationContext creationContext) -
org.hibernate.persister.internal中HibernateException的使用
抛出HibernateException的org.hibernate.persister.internal中的方法 修饰符和类型 方法 说明 CollectionPersisterPersisterFactoryImpl. createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)EntityPersisterPersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext) -
org.hibernate.persister.spi中HibernateException的使用
org.hibernate.persister.spi中HibernateException的子类 修饰符和类型 类 说明 classUnknownPersisterExceptionIndicates that the persister to use is not known and could not be determined.抛出HibernateException的org.hibernate.persister.spi中的方法 修饰符和类型 方法 说明 CollectionPersisterPersisterFactory. createCollectionPersister(Collection collectionBinding, CollectionDataAccess cacheAccessStrategy, PersisterCreationContext creationContext)Create a collection persister instance.EntityPersisterPersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)Create an entity persister instance. -
org.hibernate.persister.walking.spi中HibernateException的使用
org.hibernate.persister.walking.spi中HibernateException的子类 修饰符和类型 类 说明 classWalkingExceptionIndicates a problem walking the domain tree. -
org.hibernate.procedure中HibernateException的使用
org.hibernate.procedure中HibernateException的子类 修饰符和类型 类 说明 classNamedParametersNotSupportedExceptionThrown to indicate that an attempt was made to register a stored procedure named parameter, but the underlying database reports to not support named parameters.classNoSuchParameterExceptionclassParameterMisuseExceptionThrown to indicate a misuse of aParameterRegistrationclassParameterStrategyExceptionclassUnknownSqlResultSetMappingException -
org.hibernate.property.access.spi中HibernateException的使用
org.hibernate.property.access.spi中HibernateException的子类 修饰符和类型 类 说明 classPropertyAccessBuildingExceptionIndicates a problem while building a PropertyAccessclassPropertyAccessExceptionIndicates a problem reading or writing value from/to a persistent property.classPropertyAccessSerializationException -
org.hibernate.proxy中HibernateException的使用
抛出HibernateException的org.hibernate.proxy中的方法 修饰符和类型 方法 说明 ObjectAbstractLazyInitializer. getImplementation(SharedSessionContractImplementor s)ObjectLazyInitializer. getImplementation(SharedSessionContractImplementor session)Return the underlying persistent object in the given session, or null if not contained in this session's persistence context.HibernateProxyProxyFactory. getProxy(Serializable id, SharedSessionContractImplementor session)Create a new proxy instancevoidAbstractLazyInitializer. initialize()voidLazyInitializer. initialize()Initialize the proxy, fetching the target entity if necessary.voidProxyFactory. postInstantiate(String entityName, Class persistentClass, Set<Class> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType)Called immediately after instantiation of this factory.voidAbstractLazyInitializer. setSession(SharedSessionContractImplementor s)voidLazyInitializer. setSession(SharedSessionContractImplementor session)Associate the proxy with the given session. -
org.hibernate.proxy.map中HibernateException的使用
抛出HibernateException的org.hibernate.proxy.map中的方法 修饰符和类型 方法 说明 voidMapProxyFactory. postInstantiate(String entityName, Class persistentClass, Set interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType) -
org.hibernate.proxy.pojo.bytebuddy中HibernateException的使用
抛出HibernateException的org.hibernate.proxy.pojo.bytebuddy中的方法 修饰符和类型 方法 说明 HibernateProxyByteBuddyProxyFactory. getProxy(Serializable id, SharedSessionContractImplementor session)voidByteBuddyProxyFactory. postInstantiate(String entityName, Class persistentClass, Set<Class> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType) -
org.hibernate.proxy.pojo.javassist中HibernateException的使用
抛出HibernateException的org.hibernate.proxy.pojo.javassist中的方法 修饰符和类型 方法 说明 HibernateProxyJavassistProxyFactory. getProxy(Serializable id, SharedSessionContractImplementor session)voidJavassistProxyFactory. postInstantiate(String entityName, Class persistentClass, Set<Class> interfaces, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType) -
org.hibernate.query.internal中HibernateException的使用
抛出HibernateException的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 intAbstractProducedQuery. executeUpdate()IteratorCollectionFilterImpl. iterate()ListCollectionFilterImpl. list()ScrollableResultsImplementorCollectionFilterImpl. scroll() -
org.hibernate.query.spi中HibernateException的使用
返回变量类型为HibernateException的类型的org.hibernate.query.spi中的方法 修饰符和类型 方法 说明 Map<String,HibernateException>NamedQueryRepository. checkNamedQueries(QueryPlanCache queryPlanCache) -
org.hibernate.resource.beans.container.internal中HibernateException的使用
org.hibernate.resource.beans.container.internal中HibernateException的子类 修饰符和类型 类 说明 classNoSuchBeanExceptionException indicating that the given class is not known as a CDI bean - triggers fallback handlingclassNotYetReadyExceptionException indicating an attempt to access the CDI BeanManager before it is ready for use -
org.hibernate.resource.transaction中HibernateException的使用
org.hibernate.resource.transaction中HibernateException的子类 修饰符和类型 类 说明 classLocalSynchronizationExceptionWraps an exception thrown from a "local synchronization" (one registered in the SynchronizationRegistry).classNullSynchronizationExceptionIndicates an attempt to register a null synchronization.classTransactionRequiredForJoinExceptionIndicates a call toTransactionCoordinator.explicitJoin()that requires an active transaction where there currently is none. -
org.hibernate.resource.transaction.backend.jdbc.internal中HibernateException的使用
抛出HibernateException的org.hibernate.resource.transaction.backend.jdbc.internal中的方法 修饰符和类型 方法 说明 <T> TJdbcIsolationDelegate. delegateCallable(Callable<T> callable, boolean transacted)<T> TJdbcIsolationDelegate. delegateWork(WorkExecutorVisitable<T> work, boolean transacted) -
org.hibernate.resource.transaction.backend.jta.internal中HibernateException的使用
org.hibernate.resource.transaction.backend.jta.internal中HibernateException的子类 修饰符和类型 类 说明 classJtaPlatformInaccessibleExceptionIndicates problems accessing TransactionManager or UserTransaction through the JtaPlatform抛出HibernateException的org.hibernate.resource.transaction.backend.jta.internal中的方法 修饰符和类型 方法 说明 <T> TJtaIsolationDelegate. delegateCallable(Callable<T> callable, boolean transacted)<T> TJtaIsolationDelegate. delegateWork(WorkExecutorVisitable<T> work, boolean transacted) -
org.hibernate.result中HibernateException的使用
org.hibernate.result中HibernateException的子类 修饰符和类型 类 说明 classNoMoreReturnsException -
org.hibernate.secure.spi中HibernateException的使用
org.hibernate.secure.spi中HibernateException的子类 修饰符和类型 类 说明 classIntegrationException -
org.hibernate.service中HibernateException的使用
org.hibernate.service中HibernateException的子类 修饰符和类型 类 说明 classNullServiceExceptionclassUnknownServiceExceptionIndicates that an unknown service was requested from the registry.classUnknownUnwrapTypeException -
org.hibernate.service.internal中HibernateException的使用
org.hibernate.service.internal中HibernateException的子类 修饰符和类型 类 说明 classServiceDependencyExceptionIndicates a problem processing service dependencies.classServiceProxyGenerationExceptionIndicates a problem generating a service proxy -
org.hibernate.service.spi中HibernateException的使用
org.hibernate.service.spi中HibernateException的子类 修饰符和类型 类 说明 classServiceExceptionIndicates a problem with a service. -
org.hibernate.sql.ordering.antlr中HibernateException的使用
抛出HibernateException的org.hibernate.sql.ordering.antlr中的方法 修饰符和类型 方法 说明 SqlValueReference[]ColumnMapper. map(String reference)Resolve the property reference to its underlying columns. -
org.hibernate.tool.hbm2ddl中HibernateException的使用
org.hibernate.tool.hbm2ddl中HibernateException的子类 修饰符和类型 类 说明 classImportScriptException已过时。Everything in this package has been replaced withSchemaManagementTooland friends. -
org.hibernate.tool.schema.extract.spi中HibernateException的使用
org.hibernate.tool.schema.extract.spi中HibernateException的子类 修饰符和类型 类 说明 classSchemaExtractionException -
org.hibernate.tool.schema.spi中HibernateException的使用
org.hibernate.tool.schema.spi中HibernateException的子类 修饰符和类型 类 说明 classCommandAcceptanceExceptionIndicates a problem accepting/executing a schema management command.classSchemaManagementExceptionIndicates a problem in performing schema management. -
org.hibernate.tuple.component中HibernateException的使用
抛出HibernateException的org.hibernate.tuple.component中的方法 修饰符和类型 方法 说明 ObjectAbstractComponentTuplizer. getPropertyValue(Object component, int i)Object[]AbstractComponentTuplizer. getPropertyValues(Object component)Object[]PojoComponentTuplizer. getPropertyValues(Object component)ObjectAbstractComponentTuplizer. instantiate()This method does not populate the component parentvoidAbstractComponentTuplizer. setPropertyValues(Object component, Object[] values)voidPojoComponentTuplizer. setPropertyValues(Object component, Object[] values) -
org.hibernate.tuple.entity中HibernateException的使用
org.hibernate.tuple.entity中HibernateException的子类 修饰符和类型 类 说明 static classEntityMetamodel.ValueGenerationStrategyException抛出HibernateException的org.hibernate.tuple.entity中的方法 修饰符和类型 方法 说明 ObjectEntityTuplizer. createProxy(Serializable id, SharedSessionContractImplementor session)Generates an appropriate proxy representation of this entity for this entity-mode.SerializableAbstractEntityTuplizer. getIdentifier(Object entity)SerializableEntityTuplizer. getIdentifier(Object entity)已过时。ObjectAbstractEntityTuplizer. getPropertyValue(Object entity, int i)ObjectAbstractEntityTuplizer. getPropertyValue(Object entity, String propertyPath)ObjectEntityTuplizer. getPropertyValue(Object entity, String propertyName)Extract the value of a particular property from the given entity.Object[]PojoEntityTuplizer. getPropertyValues(Object entity)Object[]EntityTuplizer. getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session)Extract the values of the insertable properties of the entity (including backrefs)ObjectAbstractEntityTuplizer. getVersion(Object entity)ObjectEntityTuplizer. getVersion(Object entity)Extract the value of the version property from the given entity.ObjectAbstractEntityTuplizer. instantiate()ObjectAbstractEntityTuplizer. instantiate(Serializable id)ObjectEntityTuplizer. instantiate(Serializable id)voidAbstractEntityTuplizer. setIdentifier(Object entity, Serializable id)voidEntityTuplizer. setIdentifier(Object entity, Serializable id)voidAbstractEntityTuplizer. setPropertyValue(Object entity, int i, Object value)voidAbstractEntityTuplizer. setPropertyValue(Object entity, String propertyName, Object value)voidEntityTuplizer. setPropertyValue(Object entity, int i, Object value)Inject the value of a particular property.voidEntityTuplizer. setPropertyValue(Object entity, String propertyName, Object value)Inject the value of a particular property.voidAbstractEntityTuplizer. setPropertyValues(Object entity, Object[] values)voidPojoEntityTuplizer. setPropertyValues(Object entity, Object[] values) -
org.hibernate.type中HibernateException的使用
org.hibernate.type中HibernateException的子类 修饰符和类型 类 说明 classSerializationExceptionThrown when a property cannot be serialized/deserialized抛出HibernateException的org.hibernate.type中的方法 修饰符和类型 方法 说明 ObjectAbstractStandardBasicType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)ObjectAbstractType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)ObjectAnyType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)ObjectCollectionType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)ObjectComponentType. assemble(Serializable object, SharedSessionContractImplementor session, Object owner)ObjectCompositeCustomType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)ObjectEnumType. assemble(Serializable cached, Object owner)ObjectManyToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)ObjectOneToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)ObjectSpecialOneToOneType. assemble(Serializable oid, SharedSessionContractImplementor session, Object owner)ObjectType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)Reconstruct the object from its disassembled state.ObjectCollectionType. deepCopy(Object value, SessionFactoryImplementor factory)ObjectComponentType. deepCopy(Object component, SessionFactoryImplementor factory)ObjectCompositeCustomType. deepCopy(Object value, SessionFactoryImplementor factory)ObjectCustomType. deepCopy(Object value, SessionFactoryImplementor factory)ObjectEnumType. deepCopy(Object value)ObjectMetaType. deepCopy(Object value, SessionFactoryImplementor factory)ObjectType. deepCopy(Object value, SessionFactoryImplementor factory)Return a deep copy of the persistent state, stopping at entities and at collections.SerializableAbstractStandardBasicType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableAbstractType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableAnyType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableCollectionType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableComponentType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableCompositeCustomType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableEnumType. disassemble(Object value)SerializableManyToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableOneToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableSpecialOneToOneType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)SerializableType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)Return a disassembled representation of the object.booleanEnumType. equals(Object x, Object y)TAbstractStandardBasicType. fromStringValue(String xml)ObjectCustomType. fromStringValue(String string)TSingleColumnType. fromStringValue(String xml)TStringRepresentableType. fromStringValue(String string)Consume the given string representation back into this types java form.DateTimestampType. fromStringValue(String xml)ObjectMetaType. fromXMLString(String xml, Mapping factory)ObjectAbstractStandardBasicType. get(ResultSet rs, String name, SharedSessionContractImplementor session)ObjectSingleColumnType. get(ResultSet rs, String name, SharedSessionContractImplementor session)Get a column value from a result set, without worrying about the possibility of null values.intType. getHashCode(Object x)Get a hash code, consistent with persistence "equality".intType. getHashCode(Object x, SessionFactoryImplementor factory)Get a hash code, consistent with persistence "equality".protected ObjectEntityType. getIdentifier(Object value, SharedSessionContractImplementor session)ObjectAnyType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)ObjectComponentType. getPropertyValue(Object component, int i)ObjectComponentType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)ObjectComponentType. getPropertyValue(Object component, int i, EntityMode entityMode)ObjectCompositeCustomType. getPropertyValue(Object component, int i)ObjectCompositeCustomType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)ObjectCompositeType. getPropertyValue(Object component, int index, SharedSessionContractImplementor session)Extract a particular component property value indicated by index.Object[]AnyType. getPropertyValues(Object component, SharedSessionContractImplementor session)Object[]ComponentType. getPropertyValues(Object component, SharedSessionContractImplementor session)Object[]ComponentType. getPropertyValues(Object component, EntityMode entityMode)Object[]CompositeCustomType. getPropertyValues(Object component, SharedSessionContractImplementor session)Object[]CompositeCustomType. getPropertyValues(Object component, EntityMode entityMode)Object[]CompositeType. getPropertyValues(Object component, SharedSessionContractImplementor session)Extract the values of the component properties from the given component instanceObject[]CompositeType. getPropertyValues(Object component, EntityMode entityMode)Extract the values of the component properties from the given component instance without access to the session.intEnumType. hashCode(Object x)ObjectAbstractStandardBasicType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectAbstractType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectAnyType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectComponentType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectManyToOneType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectOneToOneType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectSpecialOneToOneType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectType. hydrate(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)Extract a value from the JDBC result set.PersistentCollectionArrayType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)PersistentCollectionBagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)ObjectComponentType. instantiate(Object parent, SharedSessionContractImplementor session)ObjectComponentType. instantiate(EntityMode entityMode)This method does not populate the component parentPersistentCollectionCustomCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)ObjectEmbeddedComponentType. instantiate(Object parent, SharedSessionContractImplementor session)PersistentCollectionIdentifierBagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)booleanAbstractType. isDirty(Object old, Object current, SharedSessionContractImplementor session)booleanAnyType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanCollectionType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanCollectionType. isDirty(Object old, Object current, SharedSessionContractImplementor session)booleanComponentType. isDirty(Object x, Object y, boolean[] checkable, SharedSessionContractImplementor session)booleanComponentType. isDirty(Object x, Object y, SharedSessionContractImplementor session)booleanCompositeCustomType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanCustomType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanManyToOneType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanManyToOneType. isDirty(Object old, Object current, SharedSessionContractImplementor session)booleanMetaType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanType. isDirty(Object oldState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)Should the parent be considered dirty, given both the old and current value?booleanType. isDirty(Object old, Object current, SharedSessionContractImplementor session)Should the parent be considered dirty, given both the old and current value?booleanComponentType. isEqual(Object x, Object y)booleanComponentType. isEqual(Object x, Object y, SessionFactoryImplementor factory)booleanCompositeCustomType. isEqual(Object x, Object y)booleanCustomType. isEqual(Object x, Object y)booleanType. isEqual(Object x, Object y)Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent state).booleanType. isEqual(Object x, Object y, SessionFactoryImplementor factory)Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent state).booleanAbstractType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanAnyType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanCollectionType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanComponentType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanManyToOneType. isModified(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanType. isModified(Object dbState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)Has the value been modified compared to the current database state?booleanAbstractType. isSame(Object x, Object y)booleanAnyType. isSame(Object x, Object y)booleanComponentType. isSame(Object x, Object y)booleanType. isSame(Object x, Object y)Compare two instances of the class mapped by this type for persistence "equality" (equality of persistent state) taking a shortcut for entity references.ObjectEntityType. loadByUniqueKey(String entityName, String uniqueKeyPropertyName, Object key, SharedSessionContractImplementor session)Load an instance by a unique key that is not the primary key.ObjectAnyType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectCollectionType. nullSafeGet(ResultSet rs, String[] name, SharedSessionContractImplementor session, Object owner)ObjectComponentType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectComponentType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)ObjectCompositeCustomType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectCompositeCustomType. nullSafeGet(ResultSet rs, String columnName, SharedSessionContractImplementor session, Object owner)ObjectEntityType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectEntityType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)ObjectMetaType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectMetaType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)TSingleColumnType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session)Get a column value from a result set by name.ObjectType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)Extract a value of themapped classfrom the JDBC result set.ObjectType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)Extract a value of themapped classfrom the JDBC result set.voidAbstractSingleColumnStandardBasicType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidAnyType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidAnyType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)voidCollectionType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidCollectionType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)voidComponentType. nullSafeSet(PreparedStatement st, Object value, int begin, boolean[] settable, SharedSessionContractImplementor session)voidComponentType. nullSafeSet(PreparedStatement st, Object value, int begin, SharedSessionContractImplementor session)voidCompositeCustomType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidCompositeCustomType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)voidEnumType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)voidMetaType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidMetaType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)voidType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)Bind a value represented by an instance of themapped classto the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.voidType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)Bind a value represented by an instance of themapped classto the JDBC prepared statement.protected StringCollectionType. renderLoggableString(Object value, SessionFactoryImplementor factory)protected StringCustomCollectionType. renderLoggableString(Object value, SessionFactoryImplementor factory)ObjectAbstractType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)ObjectAnyType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectCollectionType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectComponentType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectComponentType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)ObjectCompositeCustomType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectCustomType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectEntityType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectEnumType. replace(Object original, Object target, Object owner)ObjectType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.ObjectType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.ObjectArrayType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)ObjectCustomCollectionType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)ObjectMapType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)ObjectAbstractStandardBasicType. resolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectAbstractType. resolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectAnyType. resolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectCollectionType. resolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectCollectionType. resolve(Object value, SharedSessionContractImplementor session, Object owner, Boolean overridingEager)ObjectComponentType. resolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectEntityType. resolve(Object value, SharedSessionContractImplementor session, Object owner)Resolve an identifier or unique key valueObjectEntityType. resolve(Object value, SharedSessionContractImplementor session, Object owner, Boolean overridingEager)ObjectManyToOneType. resolve(Object value, SharedSessionContractImplementor session, Object owner, Boolean overridingEager)ObjectType. resolve(Object value, SharedSessionContractImplementor session, Object owner)default ObjectType. resolve(Object value, SharedSessionContractImplementor session, Object owner, Boolean overridingEager)The second phase of 2-phase loading.protected ObjectEntityType. resolveIdentifier(Serializable id, SharedSessionContractImplementor session)protected ObjectEntityType. resolveIdentifier(Serializable id, SharedSessionContractImplementor session, Boolean overridingEager)Resolve an identifier via a load.ObjectAbstractStandardBasicType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectAbstractType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectCollectionType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectComponentType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)Given a hydrated, but unresolved value, return a value that may be used to reconstruct property-ref associations.voidAbstractStandardBasicType. set(PreparedStatement st, T value, int index, SharedSessionContractImplementor session)voidSingleColumnType. set(PreparedStatement st, T value, int index, SharedSessionContractImplementor session)Set a parameter value without worrying about the possibility of null values.voidComponentType. setPropertyValues(Object component, Object[] values, EntityMode entityMode)voidCompositeCustomType. setPropertyValues(Object component, Object[] values, EntityMode entityMode)voidCompositeType. setPropertyValues(Object component, Object[] values, EntityMode entityMode)Inject property values onto the given component instanceStringAnyType. toLoggableString(Object value, SessionFactoryImplementor factory)StringArrayType. toLoggableString(Object value, SessionFactoryImplementor factory)StringCollectionType. toLoggableString(Object value, SessionFactoryImplementor factory)StringComponentType. toLoggableString(Object value, SessionFactoryImplementor factory)StringCompositeCustomType. toLoggableString(Object value, SessionFactoryImplementor factory)StringCustomType. toLoggableString(Object value, SessionFactoryImplementor factory)StringMetaType. toLoggableString(Object value, SessionFactoryImplementor factory)StringType. toLoggableString(Object value, SessionFactoryImplementor factory)Generate a representation of the value for logging purposes.StringCustomType. toString(Object value)StringSingleColumnType. toString(T value)StringStringRepresentableType. toString(T value)Render the value to the string representation.StringMetaType. toXMLString(Object value, SessionFactoryImplementor factory) -
org.hibernate.type.descriptor.java中HibernateException的使用
返回HibernateException的org.hibernate.type.descriptor.java中的方法 修饰符和类型 方法 说明 protected HibernateExceptionAbstractTypeDescriptor. unknownUnwrap(Class conversionType)protected HibernateExceptionAbstractTypeDescriptor. unknownWrap(Class conversionType) -
org.hibernate.usertype中HibernateException的使用
抛出HibernateException的org.hibernate.usertype中的方法 修饰符和类型 方法 说明 ObjectCompositeUserType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)Reconstruct an object from the cacheable representation.ObjectUserType. assemble(Serializable cached, Object owner)Reconstruct an object from the cacheable representation.ObjectCompositeUserType. deepCopy(Object value)Return a deep copy of the persistent state, stopping at entities and at collections.ObjectUserType. deepCopy(Object value)Return a deep copy of the persistent state, stopping at entities and at collections.SerializableCompositeUserType. disassemble(Object value, SharedSessionContractImplementor session)Transform the object into its cacheable representation.SerializableUserType. disassemble(Object value)Transform the object into its cacheable representation.booleanCompositeUserType. equals(Object x, Object y)Compare two instances of the class mapped by this type for persistence "equality".booleanUserType. equals(Object x, Object y)Compare two instances of the class mapped by this type for persistence "equality".ObjectCompositeUserType. getPropertyValue(Object component, int property)Get the value of a property.intCompositeUserType. hashCode(Object x)Get a hashcode for the instance, consistent with persistence "equality"intUserType. hashCode(Object x)Get a hashcode for the instance, consistent with persistence "equality"PersistentCollectionUserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)Instantiate an uninitialized instance of the collection wrapperObjectCompositeUserType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)Retrieve an instance of the mapped class from a JDBC resultset.ObjectUserType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)Retrieve an instance of the mapped class from a JDBC resultset.voidCompositeUserType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)Write an instance of the mapped class to a prepared statement.voidUserType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)Write an instance of the mapped class to a prepared statement.ObjectCompositeUserType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner)During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.ObjectUserType. replace(Object original, Object target, Object owner)During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging.ObjectUserCollectionType. replaceElements(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SharedSessionContractImplementor session)Replace the elements of a collection with the elements of another collectionvoidCompositeUserType. setPropertyValue(Object component, int property, Object value)Set the value of a property.
-