接口的使用
org.hibernate.engine.spi.SharedSessionContractImplementor
-
使用SharedSessionContractImplementor的程序包 程序包 说明 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.bytecode.enhance.spi package defining bytecode code enhancement (instrumentation) support.org.hibernate.bytecode.enhance.spi.interceptor interceptor implementationsorg.hibernate.bytecode.spi Package defining bytecode code enhancement (instrumentation) support.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.cache.spi.support Package intended for simplifying the worked needed to implement a caching provider.org.hibernate.collection.internal Internal implementations and support for persistent collectionsorg.hibernate.collection.spi SPI definitions for persistent collectionsorg.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.dialect.identity 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.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.event.spi 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.hql.spi.id Support for multi-table update and delete statements via id-tables.org.hibernate.hql.spi.id.cte org.hibernate.hql.spi.id.inline org.hibernate.hql.spi.id.local org.hibernate.hql.spi.id.persistent Package contains an implementation of MultiTableBulkIdStrategy based on the use of a persistent (ANSI SQL term) table to hold id values.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.id.insert org.hibernate.id.uuid org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs.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.exec.process.internal org.hibernate.loader.plan.exec.process.spi org.hibernate.loader.spi 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.convert.internal org.hibernate.metamodel.model.convert.spi org.hibernate.param 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.pretty Classes for pretty printing things for exception and log messages.org.hibernate.procedure org.hibernate.procedure.internal Defines the internal support for implementing stored procedure calling.org.hibernate.procedure.spi org.hibernate.property.access.internal 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 org.hibernate.proxy.pojo.bytebuddy org.hibernate.proxy.pojo.javassist org.hibernate.query.criteria.internal.compile org.hibernate.query.internal org.hibernate.query.procedure.internal org.hibernate.query.spi org.hibernate.result.spi 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.usertype Interfaces for user-defined custom types. -
-
org.hibernate中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate中的方法 修饰符和类型 方法 说明 static LobCreatorHibernate. getLobCreator(SharedSessionContractImplementor session)Obtain a lob creator for the given session. -
org.hibernate.action.internal中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.action.internal中的方法 修饰符和类型 方法 说明 protected SharedSessionContractImplementorCollectionAction. getSession()SharedSessionContractImplementorEntityAction. getSession()originating session accessor参数类型为SharedSessionContractImplementor的org.hibernate.action.internal中的构造器 构造器 说明 AbstractEntityInsertAction(Serializable id, Object[] state, Object instance, boolean isVersionIncrementDisabled, EntityPersister persister, SharedSessionContractImplementor session)Constructs an AbstractEntityInsertAction object.BulkOperationCleanupAction(SharedSessionContractImplementor session, Set tableSpaces)Constructs an action to cleanup "affected cache regions" based on a set of affected table spaces.BulkOperationCleanupAction(SharedSessionContractImplementor session, Queryable... affectedQueryables)Constructs an action to cleanup "affected cache regions" based on the affected entity persisters.CollectionAction(CollectionPersister persister, PersistentCollection collection, Serializable key, SharedSessionContractImplementor session)CollectionRecreateAction(PersistentCollection collection, CollectionPersister persister, Serializable id, SharedSessionContractImplementor session)Constructs a CollectionRecreateActionCollectionRemoveAction(Object affectedOwner, CollectionPersister persister, Serializable id, boolean emptySnapshot, SharedSessionContractImplementor session)Removes a persistent collection from a specified owner.CollectionRemoveAction(PersistentCollection collection, CollectionPersister persister, Serializable id, boolean emptySnapshot, SharedSessionContractImplementor session)Removes a persistent collection from its loaded owner.CollectionUpdateAction(PersistentCollection collection, CollectionPersister persister, Serializable id, boolean emptySnapshot, SharedSessionContractImplementor session)Constructs a CollectionUpdateActionEntityAction(SharedSessionContractImplementor session, Serializable id, Object instance, EntityPersister persister)Instantiate an action.EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session, boolean isDelayed)Constructs an EntityIdentityInsertActionEntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session)Constructs an EntityInsertAction.EntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SharedSessionContractImplementor session)Constructs an EntityUpdateActionQueuedOperationCollectionAction(PersistentCollection collection, CollectionPersister persister, Serializable id, SharedSessionContractImplementor session)Constructs a CollectionUpdateAction -
org.hibernate.action.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.action.spi中的方法 修饰符和类型 方法 说明 voidExecutable. afterDeserialize(SharedSessionContractImplementor session)Reconnect to session after deserializationvoidAfterTransactionCompletionProcess. doAfterTransactionCompletion(boolean success, SharedSessionContractImplementor session)Perform whatever processing is encapsulated here after completion of the transaction. -
org.hibernate.bytecode.enhance.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.bytecode.enhance.spi中的方法 修饰符和类型 方法 说明 ObjectLazyPropertyInitializer. initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)Initialize the property, and return its new value. -
org.hibernate.bytecode.enhance.spi.interceptor中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.bytecode.enhance.spi.interceptor中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorAbstractInterceptor. getLinkedSession()SharedSessionContractImplementorSessionAssociableInterceptor. getLinkedSession()参数类型为SharedSessionContractImplementor的org.hibernate.bytecode.enhance.spi.interceptor中的方法 修饰符和类型 方法 说明 ObjectEnhancementAsProxyLazinessInterceptor. forceInitialize(Object target, String attributeName, SharedSessionContractImplementor session, boolean isTemporarySession)voidAbstractInterceptor. setSession(SharedSessionContractImplementor session)voidSessionAssociableInterceptor. setSession(SharedSessionContractImplementor session)类型变量类型为SharedSessionContractImplementor的org.hibernate.bytecode.enhance.spi.interceptor中的方法参数 修饰符和类型 方法 说明 static <T> TEnhancementHelper. performWork(BytecodeLazyAttributeInterceptor interceptor, BiFunction<SharedSessionContractImplementor,Boolean,T> work, String entityName, String attributeName)参数类型为SharedSessionContractImplementor的org.hibernate.bytecode.enhance.spi.interceptor中的构造器 构造器 说明 AbstractLazyLoadInterceptor(String entityName, SharedSessionContractImplementor session)EnhancementAsProxyLazinessInterceptor(String entityName, Set<String> identifierAttributeNames, CompositeType nonAggregatedCidMapper, EntityKey entityKey, SharedSessionContractImplementor session)LazyAttributeLoadingInterceptor(String entityName, Object identifier, Set<String> lazyFields, SharedSessionContractImplementor session) -
org.hibernate.bytecode.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.bytecode.spi中的方法 修饰符和类型 方法 说明 PersistentAttributeInterceptableBytecodeEnhancementMetadata. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)Create an "enhancement as proxy" instance for the given entityvoidBytecodeEnhancementMetadata. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session)LazyAttributeLoadingInterceptorBytecodeEnhancementMetadata. injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session)Build and inject an interceptor instance into the enhanced entity.voidBytecodeEnhancementMetadata. injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session) -
org.hibernate.cache.internal中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.cache.internal中的构造器 构造器 说明 NaturalIdCacheKey(Object[] naturalIdValues, Type[] propertyTypes, int[] naturalIdPropertyIndexes, String entityName, SharedSessionContractImplementor session)Construct a new key for a caching natural identifier resolutions into the second level cache. -
org.hibernate.cache.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.cache.spi中的方法 修饰符和类型 方法 说明 ObjectCacheKeysFactory. createNaturalIdKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)CacheTransactionSynchronizationAbstractRegionFactory. createTransactionContext(SharedSessionContractImplementor session)default CacheTransactionSynchronizationRegionFactory. createTransactionContext(SharedSessionContractImplementor session)static QueryKeyQueryKey. generateQueryKey(String queryString, QueryParameters queryParameters, Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)Generates a QueryKey.ListQueryCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set<Serializable> spaces, SharedSessionContractImplementor session)已过时。Get results from the cache.ListQueryResultsCache. 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 ListQueryResultsCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set<Serializable> spaces, SharedSessionContractImplementor session)ObjectDirectAccessRegion. getFromCache(Object key, SharedSessionContractImplementor session)Get value by keydefault voidTimestampsCache. invalidate(Serializable[] spaces, SharedSessionContractImplementor session)voidTimestampsCache. invalidate(String[] spaces, SharedSessionContractImplementor session)Perform invalidation of the passed spaces (table names) against the timestamps region datavoidUpdateTimestampsCache. invalidate(Serializable[] spaces, SharedSessionContractImplementor session)已过时。Perform invalidation.booleanTimestampsCache. isUpToDate(String[] spaces, Long timestamp, SharedSessionContractImplementor session)Perform an up-to-date check for the given set of query spaces as part of verifying the validity of cached query results.default booleanTimestampsCache. isUpToDate(Set<Serializable> spaces, Long timestamp, SharedSessionContractImplementor session)booleanUpdateTimestampsCache. isUpToDate(Set<Serializable> spaces, Long timestamp, SharedSessionContractImplementor session)已过时。Perform an up-to-date check for the given set of query spaces.default voidTimestampsCache. preInvalidate(Serializable[] spaces, SharedSessionContractImplementor session)voidTimestampsCache. preInvalidate(String[] spaces, SharedSessionContractImplementor session)Perform pre-invalidation of the passed spaces (table names) against the timestamps region datavoidUpdateTimestampsCache. preInvalidate(Serializable[] spaces, SharedSessionContractImplementor session)已过时。Perform pre-invalidation.booleanQueryCache. put(QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)已过时。Put a result into the query cache.booleanQueryResultsCache. put(QueryKey key, List result, Type[] returnTypes, SharedSessionContractImplementor session)Put a result into the query cache.default booleanQueryResultsCache. put(QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)voidDirectAccessRegion. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)Put a value by key -
org.hibernate.cache.spi.access中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.cache.spi.access中的方法 修饰符和类型 方法 说明 booleanEntityDataAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)Called afterQuery an item has been inserted (afterQuery the transaction completes), instead of calling release().booleanNaturalIdDataAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)Called afterQuery an item has been inserted (afterQuery the transaction completes), instead of calling release().booleanEntityDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().booleanNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().ObjectNaturalIdDataAccess. generateCacheKey(Object[] naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session)To create instances of NaturalIdCacheKey for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys.ObjectCachedDomainDataAccess. get(SharedSessionContractImplementor session, Object key)Attempt to retrieve an object from the cache.booleanEntityDataAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)Called afterQuery an item has been inserted (beforeQuery the transaction completes), instead of calling evict().booleanNaturalIdDataAccess. insert(SharedSessionContractImplementor session, Object key, Object value)Called afterQuery an item has been inserted (beforeQuery the transaction completes), instead of calling evict().SoftLockCachedDomainDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)We are going to attempt to update/delete the keyed object.booleanCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version)Attempt to cache an object, afterQuery loading from the database.booleanCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride)Attempt to cache an object, afterQuery loading from the database, explicitly specifying the minimalPut behavior.voidCachedDomainDataAccess. remove(SharedSessionContractImplementor session, Object key)Called afterQuery an item has become stale (beforeQuery the transaction completes).voidCachedDomainDataAccess. removeAll(SharedSessionContractImplementor session)Remove all data for this accessed typevoidCachedDomainDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.booleanEntityDataAccess. update(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion)Called afterQuery an item has been updated (beforeQuery the transaction completes), instead of calling evict().booleanNaturalIdDataAccess. update(SharedSessionContractImplementor session, Object key, Object value)Called afterQuery an item has been updated (beforeQuery the transaction completes), instead of calling evict(). -
org.hibernate.cache.spi.entry中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.cache.spi.entry中的构造器 构造器 说明 StandardCacheEntryImpl(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner)Constructs a StandardCacheEntryImpl -
org.hibernate.cache.spi.support中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.cache.spi.support中的方法 修饰符和类型 方法 说明 booleanAbstractNaturalIdDataAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)booleanEntityNonStrictReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanEntityReadOnlyAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanEntityReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanEntityTransactionalAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanNaturalIdNonStrictReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)booleanNaturalIdReadWriteAccess. afterInsert(SharedSessionContractImplementor session, Object key, Object value)booleanAbstractNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)booleanEntityNonStrictReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanEntityReadOnlyAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanEntityReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanEntityTransactionalAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanNaturalIdReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)default voidStorageAccess. clearCache(SharedSessionContractImplementor session)Clear data from the cacheprotected voidAbstractReadWriteAccess. decrementLock(SharedSessionContractImplementor session, Object key, AbstractReadWriteAccess.SoftLockImpl lock)ObjectAbstractNaturalIdDataAccess. generateCacheKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)ObjectNaturalIdReadWriteAccess. generateCacheKey(Object[] naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session)ObjectAbstractCachedDomainDataAccess. get(SharedSessionContractImplementor session, Object key)ObjectAbstractReadWriteAccess. get(SharedSessionContractImplementor session, Object key)Returnsnullif the item is not readable.ObjectCollectionReadWriteAccess. get(SharedSessionContractImplementor session, Object key)ObjectDirectAccessRegionTemplate. getFromCache(Object key, SharedSessionContractImplementor session)ObjectStorageAccess. getFromCache(Object key, SharedSessionContractImplementor session)Get an item from the cache.protected voidAbstractReadWriteAccess. handleLockExpiry(SharedSessionContractImplementor session, Object key, AbstractReadWriteAccess.Lockable lock)booleanAbstractNaturalIdDataAccess. insert(SharedSessionContractImplementor session, Object key, Object value)booleanEntityNonStrictReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanEntityReadOnlyAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanEntityReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanEntityTransactionalAccess. insert(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanNaturalIdNonStrictReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value)booleanNaturalIdReadWriteAccess. insert(SharedSessionContractImplementor session, Object key, Object value)SoftLockAbstractCollectionDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractEntityDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractNaturalIdDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockCollectionReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)booleanAbstractCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanAbstractCachedDomainDataAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride)booleanAbstractReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version)booleanAbstractReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride)booleanCollectionReadWriteAccess. putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version)default voidDomainDataStorageAccess. putFromLoad(Object key, Object value, SharedSessionContractImplementor session)Specialized form of putting something into the cache in cases where the put is coming from a load (read) from the databasevoidDirectAccessRegionTemplate. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)voidStorageAccess. putIntoCache(Object key, Object value, SharedSessionContractImplementor session)Put an item into the cachevoidAbstractCachedDomainDataAccess. remove(SharedSessionContractImplementor session, Object key)voidAbstractReadWriteAccess. remove(SharedSessionContractImplementor session, Object key)voidEntityNonStrictReadWriteAccess. remove(SharedSessionContractImplementor session, Object key)voidNaturalIdNonStrictReadWriteAccess. remove(SharedSessionContractImplementor session, Object key)voidAbstractCachedDomainDataAccess. removeAll(SharedSessionContractImplementor session)voidAbstractReadWriteAccess. removeAll(SharedSessionContractImplementor session)default voidStorageAccess. removeFromCache(Object key, SharedSessionContractImplementor session)Remove an item from the cache by keyvoidAbstractCollectionDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractEntityDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractNaturalIdDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidCollectionNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidCollectionReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidEntityNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)Since this is a non-strict read/write strategy item locking is not used.voidEntityReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidNaturalIdNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidNaturalIdReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)booleanAbstractNaturalIdDataAccess. update(SharedSessionContractImplementor session, Object key, Object value)booleanEntityNonStrictReadWriteAccess. update(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion)booleanEntityReadOnlyAccess. update(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion)booleanEntityReadWriteAccess. update(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion)booleanEntityTransactionalAccess. update(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion)booleanNaturalIdNonStrictReadWriteAccess. update(SharedSessionContractImplementor session, Object key, Object value)booleanNaturalIdReadWriteAccess. update(SharedSessionContractImplementor session, Object key, Object value) -
org.hibernate.collection.internal中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.collection.internal中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorAbstractPersistentCollection. getSession()Get the session currently associated with this collection.参数类型为SharedSessionContractImplementor的org.hibernate.collection.internal中的方法 修饰符和类型 方法 说明 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 orphansstatic voidAbstractPersistentCollection. identityRemove(Collection list, Object entityInstance, String entityName, SharedSessionContractImplementor session)Removes entity entries that have an equal identifier with the incoming entity instancebooleanAbstractPersistentCollection. setCurrentSession(SharedSessionContractImplementor session)booleanAbstractPersistentCollection. unsetSession(SharedSessionContractImplementor currentSession)参数类型为SharedSessionContractImplementor的org.hibernate.collection.internal中的构造器 构造器 说明 AbstractPersistentCollection(SharedSessionContractImplementor session)PersistentArrayHolder(SharedSessionContractImplementor session, Object array)Constructs a PersistentCollection instance for holding an array.PersistentArrayHolder(SharedSessionContractImplementor session, CollectionPersister persister)Constructs a PersistentCollection instance for holding an array.PersistentBag(SharedSessionContractImplementor session)Constructs a PersistentBagPersistentBag(SharedSessionContractImplementor session, Collection coll)Constructs a PersistentBagPersistentIdentifierBag(SharedSessionContractImplementor session)Constructs a PersistentIdentifierBag.PersistentIdentifierBag(SharedSessionContractImplementor session, Collection coll)Constructs a PersistentIdentifierBag.PersistentList(SharedSessionContractImplementor session)Constructs a PersistentList.PersistentList(SharedSessionContractImplementor session, List list)Constructs a PersistentList.PersistentMap(SharedSessionContractImplementor session)Instantiates a lazy map (the underlying map is un-initialized).PersistentMap(SharedSessionContractImplementor session, Map map)Instantiates a non-lazy map (the underlying map is constructed from the incoming map reference).PersistentSet(SharedSessionContractImplementor session)Constructor matching super.PersistentSet(SharedSessionContractImplementor session, Set set)Instantiates a non-lazy set (the underlying set is constructed from the incoming set reference).PersistentSortedMap(SharedSessionContractImplementor session)Constructs a PersistentSortedMap.PersistentSortedMap(SharedSessionContractImplementor session, SortedMap map)Constructs a PersistentSortedMap.PersistentSortedSet(SharedSessionContractImplementor session)Constructs a PersistentSortedSetPersistentSortedSet(SharedSessionContractImplementor session, SortedSet set)Constructs a PersistentSortedSet -
org.hibernate.collection.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.collection.spi中的方法 修饰符和类型 方法 说明 booleanPersistentCollection. setCurrentSession(SharedSessionContractImplementor session)Associate the collection with the given session.booleanPersistentCollection. unsetSession(SharedSessionContractImplementor currentSession)Disassociate this collection from the given session. -
org.hibernate.dialect中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 BlobLobMergeStrategy. mergeBlob(Blob original, Blob target, SharedSessionContractImplementor session)Perform merge onBlobvalues.ClobLobMergeStrategy. mergeClob(Clob original, Clob target, SharedSessionContractImplementor session)Perform merge onClobvalues.NClobLobMergeStrategy. mergeNClob(NClob original, NClob target, SharedSessionContractImplementor session)Perform merge onNClobvalues. -
org.hibernate.dialect.identity中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.dialect.identity中的方法 修饰符和类型 方法 说明 SerializableGetGeneratedKeysDelegate. executeAndExtract(PreparedStatement insert, SharedSessionContractImplementor session)protected PreparedStatementGetGeneratedKeysDelegate. prepare(String insertSQL, SharedSessionContractImplementor session)protected PreparedStatementOracle12cGetGeneratedKeysDelegate. prepare(String insertSQL, SharedSessionContractImplementor session) -
org.hibernate.dialect.lock中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.dialect.lock中的方法 修饰符和类型 方法 说明 voidLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)Acquire an appropriate type of lock on the underlying data that will endure until the end of the current transaction.voidOptimisticForceIncrementLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidOptimisticLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidPessimisticForceIncrementLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidPessimisticReadSelectLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidPessimisticReadUpdateLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidPessimisticWriteSelectLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidPessimisticWriteUpdateLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidSelectLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session)voidUpdateLockingStrategy. lock(Serializable id, Object version, Object object, int timeout, SharedSessionContractImplementor session) -
org.hibernate.engine.internal中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorStatefulPersistenceContext. getSession()protected SharedSessionContractImplementorNaturalIdXrefDelegate. session()Access to the session (via the PersistenceContext) to which this delegate ultimately belongs.参数类型为SharedSessionContractImplementor的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 static voidTwoPhaseLoad. addUninitializedCachedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, Object version, SharedSessionContractImplementor session)Same asTwoPhaseLoad.addUninitializedEntity(org.hibernate.engine.spi.EntityKey, java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.LockMode, org.hibernate.engine.spi.SharedSessionContractImplementor), but here for an entity from the second level cachestatic voidTwoPhaseLoad. addUninitializedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, SharedSessionContractImplementor session)Add an uninitialized instance of an entity class, as a placeholder to ensure object identity.static voidTwoPhaseLoad. afterInitialize(Object entity, SharedSessionContractImplementor session)Perform the afterInitialize() step.static NonNullableTransientDependenciesForeignKeys. findNonNullableTransientEntities(String entityName, Object entity, Object[] values, boolean isEarlyInsert, SharedSessionContractImplementor session)Find all non-nullable references to entities that have not yet been inserted in the database, where the foreign key is a reference to an unsaved transient entity. .static SerializableCacheHelper. fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, CachedDomainDataAccess cacheAccess)static SerializableForeignKeys. getEntityIdentifierIfNotUnsaved(String entityName, Object object, SharedSessionContractImplementor session)Return the identifier of the persistent or transient object, or throw an exception if the instance is "unsaved"static ObjectVersioning. increment(Object version, VersionType versionType, SharedSessionContractImplementor session)Generate the next increment in the optimistic locking value according theVersionTypecontract for the version property.static voidTwoPhaseLoad. initializeEntity(Object entity, boolean readOnly, SharedSessionContractImplementor session, PreLoadEvent preLoadEvent)已过时。This method will be removed.static voidTwoPhaseLoad. initializeEntity(Object entity, boolean readOnly, SharedSessionContractImplementor session, PreLoadEvent preLoadEvent, Iterable<PreLoadEventListener> preLoadEventListeners)Perform the second step of 2-phase load.static booleanForeignKeys. isNotTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)Is this instance persistent or detached?booleanAbstractEntityEntry. isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session)static booleanForeignKeys. isTransient(String entityName, Object entity, Boolean assumed, SharedSessionContractImplementor session)Is this instance, which we know is not persistent, actually transient?static voidTwoPhaseLoad. postHydrate(EntityPersister persister, Serializable id, Object[] values, Object rowId, Object object, LockMode lockMode, SharedSessionContractImplementor session)Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.static voidTwoPhaseLoad. postLoad(Object entity, SharedSessionContractImplementor session, PostLoadEvent postLoadEvent)static voidTwoPhaseLoad. postLoad(Object entity, SharedSessionContractImplementor session, PostLoadEvent postLoadEvent, Iterable<PostLoadEventListener> postLoadEventListeners)PostLoad cannot occur during initializeEntity, as that call occurs *before* the Set collections are added to the persistence context by Loader.static voidBatchFetchQueueHelper. removeBatchLoadableEntityKey(Serializable id, EntityPersister persister, SharedSessionContractImplementor session)Remove the entity key with the specifiedidandpersisterfrom the batch loadable entitiesBatchFetchQueue.static voidBatchFetchQueueHelper. removeNotFoundBatchLoadableEntityKeys(Serializable[] ids, List<?> results, EntityPersister persister, SharedSessionContractImplementor session)Finds the IDs for entities that were not found when the batch was loaded, and removes the corresponding entity keys from theBatchFetchQueue.static booleanVersioning. seedVersion(Object[] fields, int versionProperty, VersionType versionType, SharedSessionContractImplementor session)Create an initial optimistic locking value according theVersionTypecontract for the version property if required and inject it into the snapshot state.StringNonNullableTransientDependencies. toLoggableString(SharedSessionContractImplementor session)Build a loggable representation of the paths tracked here at the moment.参数类型为SharedSessionContractImplementor的org.hibernate.engine.internal中的构造器 构造器 说明 Nullability(SharedSessionContractImplementor session)Constructs a NullabilityNullifier(Object self, boolean isDelete, boolean isEarlyInsert, SharedSessionContractImplementor session, EntityPersister persister)Constructs a NullifierStatefulPersistenceContext(SharedSessionContractImplementor session)Constructs a PersistentContext, bound to the given session. -
org.hibernate.engine.query.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.engine.query.spi中的方法 修饰符和类型 方法 说明 protected voidNativeSQLQueryPlan. coordinateSharedCacheCleanup(SharedSessionContractImplementor session)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 queryListHQLQueryPlan. 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中SharedSessionContractImplementor的使用
org.hibernate.engine.spi中SharedSessionContractImplementor的子接口 修饰符和类型 接口 说明 interfaceSessionImplementorDefines the "internal contract" forSessionand other parts of Hibernate such asType,EntityPersisterandCollectionPersisterimplementations.实现SharedSessionContractImplementor的org.hibernate.engine.spi中的类 修饰符和类型 类 说明 classSessionDelegatorBaseImplThis class is meant to be extended.返回SharedSessionContractImplementor的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorPersistenceContext. getSession()Get the session to which this persistence context is bound.参数类型为SharedSessionContractImplementor的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 static IteratorCascadingActions. getLoadedElementsIterator(SharedSessionContractImplementor session, CollectionType collectionType, Object collection)Iterate just the elements of the collection that are already there.booleanEntityEntry. isNullifiable(boolean earlyInsert, SharedSessionContractImplementor session)booleanQueryParameters. isReadOnly(SharedSessionContractImplementor session)Should entities and proxies loaded by the Query be put in read-only mode?voidQueryParameters. processFilters(String sql, SharedSessionContractImplementor session) -
org.hibernate.event.spi中SharedSessionContractImplementor的使用
org.hibernate.event.spi中SharedSessionContractImplementor的子接口 修饰符和类型 接口 说明 interfaceEventSource -
org.hibernate.hql.internal.ast中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.hql.internal.ast中的方法 修饰符和类型 方法 说明 intQueryTranslatorImpl. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)ListQueryTranslatorImpl. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryTranslatorImpl. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResults -
org.hibernate.hql.internal.ast.exec中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的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中SharedSessionContractImplementor的使用
-
org.hibernate.hql.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.hql.spi中的方法 修饰符和类型 方法 说明 intQueryTranslator. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Perform a bulk update/delete 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. -
org.hibernate.hql.spi.id中SharedSessionContractImplementor的使用
-
org.hibernate.hql.spi.id.cte中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.hql.spi.id.cte中的方法 修饰符和类型 方法 说明 intCteValuesListDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intCteValuesListUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected CteValuesListBuilderAbstractCteValuesListBulkIdHandler. prepareCteStatement(SharedSessionContractImplementor session, QueryParameters queryParameters) -
org.hibernate.hql.spi.id.inline中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.hql.spi.id.inline中的方法 修饰符和类型 方法 说明 intAbstractInlineIdsDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intAbstractInlineIdsUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected IdsClauseBuilderAbstractInlineIdsBulkIdHandler. prepareInlineStatement(SharedSessionContractImplementor session, QueryParameters queryParameters) -
org.hibernate.hql.spi.id.local中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.hql.spi.id.local中的方法 修饰符和类型 方法 说明 voidHelper. createTempTable(IdTableInfoImpl idTableInfo, TempTableDdlTransactionHandling ddlTransactionHandling, SharedSessionContractImplementor session)protected voidHelper. releaseTempTable(IdTableInfoImpl idTableInfo, AfterUseAction afterUseAction, TempTableDdlTransactionHandling ddlTransactionHandling, SharedSessionContractImplementor session) -
org.hibernate.hql.spi.id.persistent中SharedSessionContractImplementor的使用
-
org.hibernate.id中SharedSessionContractImplementor的使用
-
org.hibernate.id.enhanced中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.id.enhanced中的方法 修饰符和类型 方法 说明 AccessCallbackDatabaseStructure. buildCallback(SharedSessionContractImplementor session)A callback to be able to get the next value from the underlying structure as needed.AccessCallbackSequenceStructure. buildCallback(SharedSessionContractImplementor session)AccessCallbackTableStructure. buildCallback(SharedSessionContractImplementor session)SerializableSequenceStyleGenerator. generate(SharedSessionContractImplementor session, Object object)SerializableTableGenerator. generate(SharedSessionContractImplementor session, Object obj) -
org.hibernate.id.insert中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.id.insert中的方法 修饰符和类型 方法 说明 protected voidAbstractSelectingDelegate. bindParameters(SharedSessionContractImplementor session, PreparedStatement ps, Object entity)Bind any required parameter values into the SQL commandAbstractSelectingDelegate.getSelectSQL().protected abstract SerializableAbstractReturningDelegate. executeAndExtract(PreparedStatement insert, SharedSessionContractImplementor session)protected abstract SerializableAbstractSelectingDelegate. getResult(SharedSessionContractImplementor session, ResultSet rs, Object entity)Extract the generated key value from the given result set.SerializableAbstractReturningDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)SerializableAbstractSelectingDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)SerializableInsertGeneratedIdentifierDelegate. performInsert(String insertSQL, SharedSessionContractImplementor session, Binder binder)Perform the indicated insert SQL statement and determine the identifier value generated.protected abstract PreparedStatementAbstractReturningDelegate. prepare(String insertSQL, SharedSessionContractImplementor session)protected voidAbstractReturningDelegate. releaseStatement(PreparedStatement insert, SharedSessionContractImplementor session) -
org.hibernate.id.uuid中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.id.uuid中的方法 修饰符和类型 方法 说明 UUIDCustomVersionOneStrategy. generateUUID(SharedSessionContractImplementor session)UUIDStandardRandomStrategy. generateUUID(SharedSessionContractImplementor session)Delegates toUUID.randomUUID() -
org.hibernate.internal中SharedSessionContractImplementor的使用
实现SharedSessionContractImplementor的org.hibernate.internal中的类 修饰符和类型 类 说明 classAbstractSessionImplFunctionality common to stateless and stateful sessionsclassAbstractSharedSessionContractBase class for SharedSessionContract/SharedSessionContractImplementor implementations.classSessionImplConcrete implementation of a Session.classStatelessSessionImpl返回SharedSessionContractImplementor的org.hibernate.internal中的方法 修饰符和类型 方法 说明 protected SharedSessionContractImplementorAbstractScrollableResults. getSession()SharedSessionContractImplementorCriteriaImpl. getSession()参数类型为SharedSessionContractImplementor的org.hibernate.internal中的方法 修饰符和类型 方法 说明 voidCriteriaImpl. setSession(SharedSessionContractImplementor session) -
org.hibernate.loader中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected voidLoader. applyPostLoadLocks(Object[] row, LockMode[] lockModesArray, SharedSessionContractImplementor session)protected intLoader. bindNamedParameters(PreparedStatement statement, Map<String,TypedValue> namedParams, int startIndex, SharedSessionContractImplementor session)Bind named parameters to the JDBC prepared statement.protected intLoader. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind all parameter values into the prepared statement in preparation for execution.protected intLoader. bindPositionalParameters(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.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 Loader.SqlStatementWrapperLoader. executeQueryStatement(String sqlStatement, QueryParameters queryParameters, boolean scroll, List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)protected Loader.SqlStatementWrapperLoader. executeQueryStatement(QueryParameters queryParameters, boolean scroll, List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)Process query string by applying filters, LIMIT clause, locks and comments if necessary.protected voidLoader. extractKeysFromResultSet(Loadable[] persisters, QueryParameters queryParameters, ResultSet resultSet, SharedSessionContractImplementor session, EntityKey[] keys, LockMode[] lockModes, List hydratedObjects)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 ListLoader. processResultSet(ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, List<AfterLoadAction> afterLoadActions)protected voidLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, List result)protected ScrollableResultsImplementorLoader. scroll(QueryParameters queryParameters, Type[] returnTypes, HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResults -
org.hibernate.loader.collection中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的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中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.collection.plan中的方法 修饰符和类型 方法 说明 voidAbstractLoadPlanBasedCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session)voidLegacyBatchingCollectionInitializerBuilder.LegacyBatchingCollectionInitializer. initialize(Serializable id, SharedSessionContractImplementor session) -
org.hibernate.loader.criteria中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected ObjectCriteriaLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)protected Object[]CriteriaLoader. getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)ListCriteriaLoader. list(SharedSessionContractImplementor session)ScrollableResultsImplementorCriteriaLoader. scroll(SharedSessionContractImplementor session, ScrollMode scrollMode) -
org.hibernate.loader.custom中SharedSessionContractImplementor的使用
-
org.hibernate.loader.custom.sql中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.custom.sql中的方法 修饰符和类型 方法 说明 intNamedParamBinder. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intPositionalParamBinder. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) -
org.hibernate.loader.entity中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 protected ObjectBatchingEntityLoader. doBatchLoad(Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, Serializable[] ids, Object optionalObject, LockOptions lockOptions, Boolean readOnly)protected ObjectBatchingEntityLoader. getObjectFromList(List results, Serializable id, SharedSessionContractImplementor session)protected ObjectAbstractEntityLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)protected ObjectCollectionElementLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectAbstractEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)protected ObjectAbstractEntityLoader. load(SharedSessionContractImplementor session, Object id, Object optionalObject, Serializable optionalId, LockOptions lockOptions, Boolean readOnly)ObjectBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)ObjectBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ObjectBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectDynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectDynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)default ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)Load an entity instance by id.default ObjectUniqueEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectEntityLoader. loadByUniqueKey(SharedSessionContractImplementor session, Object key)ObjectEntityLoader. loadByUniqueKey(SharedSessionContractImplementor session, Object key, Boolean readOnly)ObjectCollectionElementLoader. loadElement(SharedSessionContractImplementor session, Object key, Object index)ListDynamicBatchingEntityLoaderBuilder. multiLoad(OuterJoinLoadable persister, Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)protected ListDynamicBatchingEntityLoaderBuilder. performUnorderedMultiLoad(OuterJoinLoadable persister, Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions) -
org.hibernate.loader.entity.plan中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 protected ObjectBatchingEntityLoader. doBatchLoad(Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, Serializable[] ids, Object optionalObject, LockOptions lockOptions)protected ObjectBatchingEntityLoader. getObjectFromList(List results, Serializable id, SharedSessionContractImplementor session)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectAbstractLoadPlanBasedEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectLegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, 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中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected voidQueryLoader. applyPostLoadLocks(Object[] row, LockMode[] lockModesArray, SharedSessionContractImplementor session)protected intQueryLoader. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)We specifically override this method here, because in general we know much more about the parameters and their appropriate bind positions here then we do in our super because we track them explicitly here through the ParameterSpecification interface.protected ObjectQueryLoader. getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)protected Object[]QueryLoader. getResultRow(Object[] row, ResultSet rs, SharedSessionContractImplementor session)ListQueryLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session) -
org.hibernate.loader.plan.exec.internal中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的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. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind all parameter values into the prepared statement in preparation for execution.protected intAbstractLoadPlanBasedLoader. bindPositionalParameters(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.protected ListAbstractLoadPlanBasedLoader. executeLoad(SharedSessionContractImplementor session, QueryParameters queryParameters, LoadQueryDetails loadQueryDetails, boolean returnProxies, ResultTransformer forcedResultTransformer)protected AbstractLoadPlanBasedLoader.SqlStatementWrapperAbstractLoadPlanBasedLoader. executeQueryStatement(String sqlStatement, QueryParameters queryParameters, boolean scroll, SharedSessionContractImplementor session)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.exec.process.internal中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.loader.plan.exec.process.internal中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorResultSetProcessingContextImpl. getSession()参数类型为SharedSessionContractImplementor的org.hibernate.loader.plan.exec.process.internal中的方法 修饰符和类型 方法 说明 ListResultSetProcessorImpl. extractResults(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean returnProxies, boolean readOnly, ResultTransformer forcedResultTransformer, List<AfterLoadAction> afterLoadActionList)static EntityKeyResultSetProcessorHelper. getOptionalObjectKey(QueryParameters queryParameters, SharedSessionContractImplementor session)EntityKeyResultSetProcessorHelper. interpretEntityKey(SharedSessionContractImplementor session, String optionalEntityName, Serializable optionalId, Object optionalObject)参数类型为SharedSessionContractImplementor的org.hibernate.loader.plan.exec.process.internal中的构造器 构造器 说明 ResultSetProcessingContextImpl(ResultSet resultSet, SharedSessionContractImplementor session, LoadPlan loadPlan, AliasResolutionContext aliasResolutionContext, boolean readOnly, boolean shouldUseOptionalEntityInformation, boolean shouldReturnProxies, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean hadSubselectFetches)Builds a ResultSetProcessingContextImpl -
org.hibernate.loader.plan.exec.process.spi中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.loader.plan.exec.process.spi中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorResultSetProcessingContext. getSession()参数类型为SharedSessionContractImplementor的org.hibernate.loader.plan.exec.process.spi中的方法 修饰符和类型 方法 说明 ListResultSetProcessor. extractResults(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean returnProxies, boolean readOnly, ResultTransformer forcedResultTransformer, List<AfterLoadAction> afterLoadActions)Process an entire ResultSet, performing all extractions. -
org.hibernate.loader.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.loader.spi中的方法 修饰符和类型 方法 说明 voidAfterLoadAction. afterLoad(SharedSessionContractImplementor session, Object entity, Loadable persister) -
org.hibernate.mapping中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.mapping中的方法 修饰符和类型 方法 说明 voidComponent.ValueGenerationPlan. execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)SerializableComponent.StandardGenerationContextLocator. locateGenerationContext(SharedSessionContractImplementor session, Object incomingObject) -
org.hibernate.metadata中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.metadata中的方法 修饰符和类型 方法 说明 SerializableClassMetadata. getIdentifier(Object entity, SharedSessionContractImplementor session)Get the identifier of an instance (throw an exception if no identifier property)Object[]ClassMetadata. getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session)Return the values of the mapped properties of the objectObjectClassMetadata. instantiate(Serializable id, SharedSessionContractImplementor session)Create a class instance initialized with the given identifiervoidClassMetadata. setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session)Inject the identifier value into the given entity. -
org.hibernate.metamodel.model.convert.internal中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.metamodel.model.convert.internal中的方法 修饰符和类型 方法 说明 ENamedEnumValueConverter. readValue(ResultSet resultSet, String name, SharedSessionContractImplementor session)EOrdinalEnumValueConverter. readValue(ResultSet resultSet, String name, SharedSessionContractImplementor session)voidNamedEnumValueConverter. writeValue(PreparedStatement statement, E value, int position, SharedSessionContractImplementor session)voidOrdinalEnumValueConverter. writeValue(PreparedStatement statement, E value, int position, SharedSessionContractImplementor session) -
org.hibernate.metamodel.model.convert.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.metamodel.model.convert.spi中的方法 修饰符和类型 方法 说明 OEnumValueConverter. readValue(ResultSet resultSet, String name, SharedSessionContractImplementor session)voidEnumValueConverter. writeValue(PreparedStatement statement, O value, int position, SharedSessionContractImplementor session) -
org.hibernate.param中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.param中的方法 修饰符和类型 方法 说明 intCollectionFilterKeyParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intDynamicFilterParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int start)intNamedParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intParameterBinder. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intPositionalParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intVersionTypeSeedParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) -
org.hibernate.persister.collection中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.persister.collection中的方法 修饰符和类型 方法 说明 protected abstract CollectionInitializerAbstractCollectionPersister. createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session)protected CollectionInitializerBasicCollectionPersister. createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session)protected CollectionInitializerOneToManyPersister. createSubselectInitializer(SubselectFetch subselect, SharedSessionContractImplementor session)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 voidBasicCollectionPersister. doProcessQueuedOps(PersistentCollection collection, Serializable id, 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)protected intOneToManyPersister. doUpdateRows(Serializable id, PersistentCollection collection, SharedSessionContractImplementor session)booleanAbstractCollectionPersister. elementExists(Serializable key, Object element, SharedSessionContractImplementor session)booleanCollectionPersister. elementExists(Serializable key, Object element, SharedSessionContractImplementor session)protected CollectionInitializerAbstractCollectionPersister. getAppropriateInitializer(Serializable key, SharedSessionContractImplementor session)ObjectAbstractCollectionPersister. getElementByIndex(Serializable key, Object index, SharedSessionContractImplementor session, Object owner)ObjectCollectionPersister. getElementByIndex(Serializable key, Object index, SharedSessionContractImplementor session, Object owner)ObjectOneToManyPersister. getElementByIndex(Serializable key, Object index, SharedSessionContractImplementor session, Object owner)intAbstractCollectionPersister. getSize(Serializable key, SharedSessionContractImplementor session)intCollectionPersister. getSize(Serializable key, SharedSessionContractImplementor session)booleanAbstractCollectionPersister. indexExists(Serializable key, Object index, SharedSessionContractImplementor session)booleanCollectionPersister. indexExists(Serializable key, Object index, 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)booleanAbstractCollectionPersister. isAffectedByEnabledFilters(SharedSessionContractImplementor session)booleanCollectionPersister. isAffectedByEnabledFilters(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中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 voidAbstractEntityPersister. afterInitialize(Object entity, SharedSessionContractImplementor session)voidEntityPersister. afterInitialize(Object entity, SharedSessionContractImplementor session)Called just after the entities properties have been initializedvoidAbstractEntityPersister. afterReassociate(Object entity, SharedSessionContractImplementor session)voidEntityPersister. afterReassociate(Object entity, SharedSessionContractImplementor session)Called just after the entity has been reassociated with the sessionCacheEntryAbstractEntityPersister. buildCacheEntry(Object entity, Object[] state, Object version, SharedSessionContractImplementor session)CacheEntryAbstractEntityPersister.CacheEntryHelper. buildCacheEntry(Object entity, Object[] state, Object version, SharedSessionContractImplementor session)CacheEntryEntityPersister. buildCacheEntry(Object entity, Object[] state, Object version, SharedSessionContractImplementor session)ObjectAbstractEntityPersister. createProxy(Serializable id, SharedSessionContractImplementor session)ObjectEntityPersister. createProxy(Serializable id, SharedSessionContractImplementor session)Create a new proxy instanceintAbstractEntityPersister. 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[]EntityPersister. findDirty(Object[] currentState, Object[] previousState, Object owner, SharedSessionContractImplementor session)Compare the two snapshots to determine if they represent dirty state.int[]AbstractEntityPersister. findModified(Object[] old, Object[] current, Object entity, SharedSessionContractImplementor session)Locate the property-indices of all properties considered to be dirty.int[]EntityPersister. findModified(Object[] old, Object[] current, Object object, SharedSessionContractImplementor session)Compare the two snapshots to determine if they represent modified state.ObjectAbstractEntityPersister. forceVersionIncrement(Serializable id, Object currentVersion, SharedSessionContractImplementor session)ObjectEntityPersister. forceVersionIncrement(Serializable id, Object currentVersion, SharedSessionContractImplementor session)protected UniqueEntityLoaderAbstractEntityPersister. getAppropriateLoader(LockOptions lockOptions, SharedSessionContractImplementor session)protected SerializableAbstractEntityPersister. getCollectionKey(CollectionPersister persister, Object owner, EntityEntry ownerEntry, 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. getIdByUniqueKey(Serializable key, String uniquePropertyName, SharedSessionContractImplementor session)SerializableAbstractEntityPersister. getIdentifier(Object entity, SharedSessionContractImplementor session)SerializableEntityPersister. getIdentifier(Object entity, SharedSessionContractImplementor session)Get the identifier of an instance (throw an exception if no identifier property)Object[]AbstractEntityPersister. getNaturalIdentifierSnapshot(Serializable id, SharedSessionContractImplementor session)Object[]EntityPersister. getNaturalIdentifierSnapshot(Serializable id, SharedSessionContractImplementor session)Retrieve the current state of the natural-id properties from the database.Object[]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)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 setObjectAbstractEntityPersister. initializeEnhancedEntityUsedAsProxy(Object entity, String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)default ObjectEntityPersister. initializeEnhancedEntityUsedAsProxy(Object entity, String nameOfAttributeBeingAccessed, SharedSessionContractImplementor session)Called fromEnhancementAsProxyLazinessInterceptorto trigger load of the entity's non-lazy state as well as the named attribute we are accessing if it is still uninitialized after fetching non-lazy stateObjectAbstractEntityPersister. initializeLazyProperty(String fieldName, Object entity, SharedSessionContractImplementor session)voidAbstractEntityPersister. insert(Serializable id, Object[] fields, boolean[] notNull, int j, String sql, Object object, SharedSessionContractImplementor session)Perform an SQL INSERT.voidAbstractEntityPersister. insert(Serializable id, Object[] fields, Object object, SharedSessionContractImplementor session)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)ObjectAbstractEntityPersister. instantiate(Serializable id, SharedSessionContractImplementor session)ObjectEntityPersister. instantiate(Serializable id, SharedSessionContractImplementor session)Create a class instance initialized with the given identifierbooleanDiscriminatorType. 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, LockMode lockMode, 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)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)ObjectNamedQueryLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)ObjectNamedQueryLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly)ObjectNamedQueryLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)ObjectNamedQueryLoader. load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)ObjectAbstractEntityPersister. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)ObjectUniqueKeyLoadable. loadByUniqueKey(String propertyName, Object uniqueKey, SharedSessionContractImplementor session)Load an instance of the persistent class, by a unique key other than the primary key.SerializableAbstractEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)SerializableEntityPersister. loadEntityIdByNaturalId(Object[] naturalIdValues, LockOptions lockOptions, SharedSessionContractImplementor session)Load the id for the entity based on the natural id.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)ListAbstractEntityPersister. multiLoad(Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)ListEntityPersister. multiLoad(Serializable[] ids, SharedSessionContractImplementor session, MultiLoadOptions loadOptions)Performs a load of multiple entities (of this type) by identifier simultaneously.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)voidAbstractEntityPersister. processInsertGeneratedProperties(Serializable id, Object entity, Object[] state, SharedSessionContractImplementor session)voidEntityPersister. processInsertGeneratedProperties(Serializable id, Object entity, Object[] state, SharedSessionContractImplementor session)Perform a select to retrieve the values of any generated properties back from the database, injecting these generated values into the given entity as well as writing this state to thePersistenceContext.voidAbstractEntityPersister. processUpdateGeneratedProperties(Serializable id, Object entity, Object[] state, SharedSessionContractImplementor session)voidEntityPersister. processUpdateGeneratedProperties(Serializable id, Object entity, Object[] state, SharedSessionContractImplementor session)Perform a select to retrieve the values of any generated properties back from the database, injecting these generated values into the given entity as well as writing this state to thePersistenceContext.ObjectDiscriminatorType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)voidAbstractEntityPersister. resetIdentifier(Object entity, Serializable currentId, Object currentVersion, SharedSessionContractImplementor session)voidEntityPersister. resetIdentifier(Object entity, Serializable currentId, Object currentVersion, SharedSessionContractImplementor session)Set the identifier and version of the given instance back to its "unsaved" value.voidAbstractEntityPersister. setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session)voidEntityPersister. setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session)Inject the identifier value into the given entity.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 -
org.hibernate.pretty中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.pretty中的方法 修饰符和类型 方法 说明 static StringMessageHelper. collectionInfoString(CollectionPersister persister, PersistentCollection collection, Serializable collectionKey, SharedSessionContractImplementor session)Generate an info message string relating to a particular managed collection. -
org.hibernate.procedure中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.procedure中的方法 修饰符和类型 方法 说明 ProcedureCallProcedureCallMemento. makeProcedureCall(SharedSessionContractImplementor session)Convert the memento back into an executable (connected) form. -
org.hibernate.procedure.internal中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.procedure.internal中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorProcedureCallImpl. getSession()参数类型为SharedSessionContractImplementor的org.hibernate.procedure.internal中的构造器 构造器 说明 ProcedureCallImpl(SharedSessionContractImplementor session, String procedureName)The no-returns form.ProcedureCallImpl(SharedSessionContractImplementor session, String procedureName, Class... resultClasses)The result Class(es) return formProcedureCallImpl(SharedSessionContractImplementor session, String procedureName, String... resultSetMappings)The result-set-mapping(s) return form -
org.hibernate.procedure.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.procedure.spi中的方法 修饰符和类型 方法 说明 voidCallableStatementSupport. registerParameters(String procedureName, CallableStatement statement, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)default StringCallableStatementSupport. renderCallableStatement(String name, ParameterStrategy parameterStrategy, List<ParameterRegistrationImplementor<?>> parameterRegistrations, SharedSessionContractImplementor session)default StringCallableStatementSupport. renderCallableStatement(String procedureName, ProcedureParameterMetadata parameterMetadata, ProcedureParamBindings paramBindings, SharedSessionContractImplementor session) -
org.hibernate.property.access.internal中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.property.access.internal中的方法 修饰符和类型 方法 说明 ObjectPropertyAccessMapImpl.GetterImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session) -
org.hibernate.property.access.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.property.access.spi中的方法 修饰符和类型 方法 说明 ObjectEnhancedGetterMethodImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)已过时。ObjectGetter. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)Get the property value from the given owner instance.ObjectGetterFieldImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session)ObjectGetterMethodImpl. getForInsert(Object owner, Map mergeMap, SharedSessionContractImplementor session) -
org.hibernate.proxy中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.proxy中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorAbstractLazyInitializer. getSession()SharedSessionContractImplementorLazyInitializer. getSession()Get the session to which this proxy is associated, or null if it is not attached.参数类型为SharedSessionContractImplementor的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. setSession(SharedSessionContractImplementor s)voidLazyInitializer. setSession(SharedSessionContractImplementor session)Associate the proxy with the given session.参数类型为SharedSessionContractImplementor的org.hibernate.proxy中的构造器 构造器 说明 AbstractLazyInitializer(String entityName, Serializable id, SharedSessionContractImplementor session)Main constructor. -
org.hibernate.proxy.map中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.proxy.map中的方法 修饰符和类型 方法 说明 HibernateProxyMapProxyFactory. getProxy(Serializable id, SharedSessionContractImplementor session) -
org.hibernate.proxy.pojo中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.proxy.pojo中的构造器 构造器 说明 BasicLazyInitializer(String entityName, Class persistentClass, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals) -
org.hibernate.proxy.pojo.bytebuddy中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.proxy.pojo.bytebuddy中的方法 修饰符和类型 方法 说明 HibernateProxyByteBuddyProxyFactory. getProxy(Serializable id, SharedSessionContractImplementor session)参数类型为SharedSessionContractImplementor的org.hibernate.proxy.pojo.bytebuddy中的构造器 构造器 说明 ByteBuddyInterceptor(String entityName, Class persistentClass, Class[] interfaces, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals) -
org.hibernate.proxy.pojo.javassist中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.proxy.pojo.javassist中的方法 修饰符和类型 方法 说明 HibernateProxyJavassistProxyFactory. getProxy(Serializable id, SharedSessionContractImplementor session)参数类型为SharedSessionContractImplementor的org.hibernate.proxy.pojo.javassist中的构造器 构造器 说明 JavassistLazyInitializer(String entityName, Class persistentClass, Class[] interfaces, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals) -
org.hibernate.query.criteria.internal.compile中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.query.criteria.internal.compile中的方法 修饰符和类型 方法 说明 QueryImplementorCriteriaInterpretation. buildCompiledQuery(SharedSessionContractImplementor entityManager, InterpretedParameterMetadata interpretedParameterMetadata)Generate aQueryinstance given the interpreted criteria compiled against the passed EntityManager.参数类型为SharedSessionContractImplementor的org.hibernate.query.criteria.internal.compile中的构造器 构造器 说明 CriteriaCompiler(SharedSessionContractImplementor entityManager)CriteriaQueryTypeQueryAdapter(SharedSessionContractImplementor entityManager, QueryImplementor<X> jpqlQuery, Map<javax.persistence.criteria.ParameterExpression<?>,ExplicitParameterInfo<?>> explicitParameterInfoMap) -
org.hibernate.query.internal中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorAbstractProducedQuery. getProducer()参数类型为SharedSessionContractImplementor的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 StringQueryParameterBindingsImpl. expandListValuedParameters(String queryString, SharedSessionContractImplementor session)已过时。(since 5.2) expected changes to "collection-valued parameter binding" in 6.0参数类型为SharedSessionContractImplementor的org.hibernate.query.internal中的构造器 构造器 说明 AbstractProducedQuery(SharedSessionContractImplementor producer, ParameterMetadata parameterMetadata)CollectionFilterImpl(String queryString, Object collection, SharedSessionContractImplementor session, ParameterMetadataImpl parameterMetadata)NativeQueryImpl(String sqlString, boolean callable, SharedSessionContractImplementor session, ParameterMetadata sqlParameterMetadata)NativeQueryImpl(NamedSQLQueryDefinition queryDef, SharedSessionContractImplementor session, ParameterMetadata parameterMetadata)Constructs a NativeQueryImpl given a sql query defined in the mappings.QueryImpl(SharedSessionContractImplementor producer, ParameterMetadata parameterMetadata, String queryString) -
org.hibernate.query.procedure.internal中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.query.procedure.internal中的方法 修饰符和类型 方法 说明 StringProcedureParamBindings. expandListValuedParameters(String queryString, SharedSessionContractImplementor producer) -
org.hibernate.query.spi中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.query.spi中的方法 修饰符和类型 方法 说明 StringQueryParameterBindings. expandListValuedParameters(String queryString, SharedSessionContractImplementor producer) -
org.hibernate.result.spi中SharedSessionContractImplementor的使用
返回SharedSessionContractImplementor的org.hibernate.result.spi中的方法 修饰符和类型 方法 说明 SharedSessionContractImplementorResultContext. getSession() -
org.hibernate.tuple.entity中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.tuple.entity中的方法 修饰符和类型 方法 说明 voidAbstractEntityTuplizer. afterInitialize(Object entity, SharedSessionContractImplementor session)voidEntityTuplizer. afterInitialize(Object entity, SharedSessionContractImplementor session)Called just after the entities properties have been initialized.voidPojoEntityTuplizer. afterInitialize(Object entity, SharedSessionContractImplementor session)PersistentAttributeInterceptableBytecodeEnhancementMetadataNonPojoImpl. createEnhancedProxy(EntityKey keyToLoad, boolean addEmptyEntry, SharedSessionContractImplementor session)PersistentAttributeInterceptableBytecodeEnhancementMetadataPojoImpl. createEnhancedProxy(EntityKey entityKey, boolean addEmptyEntry, SharedSessionContractImplementor session)ObjectAbstractEntityTuplizer. createProxy(Serializable id, SharedSessionContractImplementor session)ObjectEntityTuplizer. createProxy(Serializable id, SharedSessionContractImplementor session)Generates an appropriate proxy representation of this entity for this entity-mode.SerializableAbstractEntityTuplizer. getIdentifier(Object entity, SharedSessionContractImplementor session)SerializableEntityTuplizer. getIdentifier(Object entity, SharedSessionContractImplementor session)Extract the identifier value from the given entity.Object[]AbstractEntityTuplizer. getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session)Object[]EntityTuplizer. getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session)Extract the values of the insertable properties of the entity (including backrefs)Object[]PojoEntityTuplizer. getPropertyValuesToInsert(Object entity, Map mergeMap, SharedSessionContractImplementor session)voidBytecodeEnhancementMetadataNonPojoImpl. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session)voidBytecodeEnhancementMetadataPojoImpl. injectEnhancedEntityAsProxyInterceptor(Object entity, EntityKey entityKey, SharedSessionContractImplementor session)LazyAttributeLoadingInterceptorBytecodeEnhancementMetadataNonPojoImpl. injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session)voidBytecodeEnhancementMetadataNonPojoImpl. injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)LazyAttributeLoadingInterceptorBytecodeEnhancementMetadataPojoImpl. injectInterceptor(Object entity, Object identifier, SharedSessionContractImplementor session)voidBytecodeEnhancementMetadataPojoImpl. injectInterceptor(Object entity, PersistentAttributeInterceptor interceptor, SharedSessionContractImplementor session)ObjectAbstractEntityTuplizer. instantiate(Serializable id, SharedSessionContractImplementor session)ObjectEntityTuplizer. instantiate(Serializable id, SharedSessionContractImplementor session)Create an entity instance initialized with the given identifier.voidAbstractEntityTuplizer. resetIdentifier(Object entity, Serializable currentId, Object currentVersion, SharedSessionContractImplementor session)voidEntityTuplizer. resetIdentifier(Object entity, Serializable currentId, Object currentVersion, SharedSessionContractImplementor session)Inject the given identifier and version into the entity, in order to "roll back" to their original values.voidAbstractEntityTuplizer. setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session)voidEntityTuplizer. setIdentifier(Object entity, Serializable id, SharedSessionContractImplementor session)Inject the identifier value into the given entity. -
org.hibernate.type中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的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)ObjectCustomType. assemble(Serializable cached, SharedSessionContractImplementor session, 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.static Object[]TypeHelper. assemble(Serializable[] row, Type[] types, SharedSessionContractImplementor session, Object owner)已过时。Apply theType.assemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)operation across a series of values.voidAbstractStandardBasicType. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)voidAbstractType. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)voidManyToOneType. beforeAssemble(Serializable oid, SharedSessionContractImplementor session)voidType. beforeAssemble(Serializable cached, SharedSessionContractImplementor session)Called before assembling a query result set from the query cache, to allow batch fetching of entities missing from the second-level cache.static voidTypeHelper. beforeAssemble(Serializable[] row, Type[] types, SharedSessionContractImplementor session)已过时。Apply theType.beforeAssemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor)operation across a series of values.booleanCollectionType. contains(Object collection, Object childObject, SharedSessionContractImplementor session)booleanCustomCollectionType. contains(Object collection, Object entity, SharedSessionContractImplementor session)static voidTypeHelper. deepCopy(Object[] values, Type[] types, boolean[] copy, Object[] target, SharedSessionContractImplementor session)已过时。Deep copy a series of values from one array to another...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)SerializableCustomType. disassemble(Object value, SharedSessionContractImplementor session, Object owner)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.static Serializable[]TypeHelper. disassemble(Object[] row, Type[] types, boolean[] nonCacheable, SharedSessionContractImplementor session, Object owner)已过时。Apply theType.disassemble(java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)operation across a series of values.TAbstractStandardBasicType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)TAbstractStandardBasicType. extract(CallableStatement statement, String[] paramNames, SharedSessionContractImplementor session)ObjectComponentType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)ObjectComponentType. extract(CallableStatement statement, String[] paramNames, SharedSessionContractImplementor session)ObjectCustomType. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)ObjectCustomType. extract(CallableStatement statement, String[] paramNames, SharedSessionContractImplementor session)TProcedureParameterExtractionAware. extract(CallableStatement statement, int startIndex, SharedSessionContractImplementor session)Perform the extractionTProcedureParameterExtractionAware. extract(CallableStatement statement, String[] paramNames, SharedSessionContractImplementor session)Perform the extractionstatic int[]TypeHelper. findDirty(NonIdentifierAttribute[] properties, Object[] currentState, Object[] previousState, boolean[][] includeColumns, boolean anyUninitializedProperties, SharedSessionContractImplementor session)已过时。Use {org.hibernate.type.TypeHelperTypeHelper.findDirty(NonIdentifierAttribute[], Object[], Object[], boolean[][], SharedSessionContractImplementor)indteadstatic int[]TypeHelper. findDirty(NonIdentifierAttribute[] properties, Object[] currentState, Object[] previousState, boolean[][] includeColumns, SharedSessionContractImplementor session)已过时。Determine if any of the given field values are dirty, returning an array containing indices of the dirty fields.static int[]TypeHelper. findModified(NonIdentifierAttribute[] properties, Object[] currentState, Object[] previousState, boolean[][] includeColumns, boolean[] includeProperties, boolean anyUninitializedProperties, SharedSessionContractImplementor session)static int[]TypeHelper. findModified(NonIdentifierAttribute[] properties, Object[] currentState, Object[] previousState, boolean[][] includeColumns, boolean[] includeProperties, SharedSessionContractImplementor session)已过时。Determine if any of the given field values are modified, returning an array containing indices of the modified fields.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.ObjectCollectionType. getCollection(Serializable key, SharedSessionContractImplementor session, Object owner, Boolean overridingEager)instantiate a collection wrapper (called when loading an object)IteratorCollectionType. getElementsIterator(Object collection, SharedSessionContractImplementor session)Get an iterator over the element set of the collection, which may not yet be wrappedprotected ObjectEntityType. getIdentifier(Object value, SharedSessionContractImplementor session)SerializableCollectionType. getIdOfOwnerOrNull(Serializable key, SharedSessionContractImplementor session)Get the id value from the owning entity key, usually the same as the key, but might be some other property, in the case of property-refSerializableCollectionType. getKeyOfOwner(Object owner, SharedSessionContractImplementor session)Get the key value from the owning entity instance, usually the identifier, but might be some other unique key, in the case of property-refObjectAnyType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)ObjectComponentType. getPropertyValue(Object component, int i, SharedSessionContractImplementor session)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[]CompositeCustomType. getPropertyValues(Object component, SharedSessionContractImplementor session)Object[]CompositeType. getPropertyValues(Object component, SharedSessionContractImplementor session)Extract the values of the component properties from the given component instanceprotected TAbstractStandardBasicType. getReplacement(T original, T target, SharedSessionContractImplementor session)protected BlobBlobType. getReplacement(Blob original, Blob target, SharedSessionContractImplementor session)protected ClobClobType. getReplacement(Clob original, Clob target, SharedSessionContractImplementor session)protected NClobNClobType. getReplacement(NClob original, NClob target, SharedSessionContractImplementor session)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)ObjectCollectionType. hydrate(ResultSet rs, String[] name, 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)abstract PersistentCollectionCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)Instantiate an uninitialized collection wrapper or holder.ObjectComponentType. instantiate(Object parent, SharedSessionContractImplementor session)PersistentCollectionCustomCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)ObjectEmbeddedComponentType. instantiate(Object parent, SharedSessionContractImplementor session)PersistentCollectionIdentifierBagType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)PersistentCollectionListType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)PersistentCollectionMapType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)PersistentCollectionSetType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)PersistentCollectionSortedMapType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)PersistentCollectionSortedSetType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister, Serializable key)booleanAbstractStandardBasicType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanAbstractStandardBasicType. isDirty(Object old, Object current, SharedSessionContractImplementor session)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)booleanOneToOneType. isDirty(Object old, Object current, boolean[] checkable, SharedSessionContractImplementor session)booleanOneToOneType. isDirty(Object old, Object current, 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?booleanAbstractStandardBasicType. isModified(Object oldHydratedState, Object currentState, boolean[] checkable, SharedSessionContractImplementor session)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)booleanOneToOneType. 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?protected booleanEntityType. isNull(Object owner, SharedSessionContractImplementor session)booleanOneToOneType. isNull(Object owner, SharedSessionContractImplementor session)ObjectEntityType. loadByUniqueKey(String entityName, String uniqueKeyPropertyName, Object key, SharedSessionContractImplementor session)Load an instance by a unique key that is not the primary key.byte[]BinaryType. next(byte[] current, SharedSessionContractImplementor session)已过时。useRowVersionTypefor binary entity versions/timestampsByteByteType. next(Byte current, SharedSessionContractImplementor session)CalendarCalendarType. next(Calendar current, SharedSessionContractImplementor session)ObjectCustomType. next(Object current, SharedSessionContractImplementor session)InstantInstantType. next(Instant current, SharedSessionContractImplementor session)IntegerIntegerType. next(Integer current, SharedSessionContractImplementor session)LocalDateTimeLocalDateTimeType. next(LocalDateTime current, SharedSessionContractImplementor session)LongLongType. next(Long current, SharedSessionContractImplementor session)OffsetDateTimeOffsetDateTimeType. next(OffsetDateTime current, SharedSessionContractImplementor session)byte[]RowVersionType. next(byte[] current, SharedSessionContractImplementor session)ShortShortType. next(Short current, SharedSessionContractImplementor session)DateTimestampType. next(Date current, SharedSessionContractImplementor session)TVersionType. next(T current, SharedSessionContractImplementor session)Increment the version.ZonedDateTimeZonedDateTimeType. next(ZonedDateTime current, SharedSessionContractImplementor session)ObjectAbstractStandardBasicType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)TAbstractStandardBasicType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session)ObjectAbstractStandardBasicType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)ObjectAnyType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectAnyType. nullSafeGet(ResultSet rs, String name, SharedSessionContractImplementor session, Object owner)ObjectCollectionType. nullSafeGet(ResultSet rs, String[] name, 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)ObjectCustomType. nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner)ObjectCustomType. 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)ObjectEnumType. nullSafeGet(ResultSet rs, String[] names, 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)voidAbstractStandardBasicType. nullSafeSet(CallableStatement st, Object value, String name, SharedSessionContractImplementor session)voidAbstractStandardBasicType. nullSafeSet(PreparedStatement st, Object value, int index, 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)voidCustomType. nullSafeSet(CallableStatement statement, Object value, String name, SharedSessionContractImplementor session)voidCustomType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidCustomType. nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session)voidEntityType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidEntityType. 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)voidOneToOneType. nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)voidProcedureParameterNamedBinder. nullSafeSet(CallableStatement statement, Object value, String name, SharedSessionContractImplementor session)Bind a value to the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.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.ObjectAbstractStandardBasicType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)ObjectAbstractStandardBasicType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)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)ObjectMetaType. replace(Object original, Object target, SharedSessionContractImplementor session, Object owner, Map copyCache)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.static Object[]TypeHelper. replace(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map copyCache)已过时。Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)operation across a series of values.static Object[]TypeHelper. replace(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)已过时。Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)operation across a series of values.static Object[]TypeHelper. replaceAssociations(Object[] original, Object[] target, Type[] types, SharedSessionContractImplementor session, Object owner, Map copyCache, ForeignKeyDirection foreignKeyDirection)已过时。Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)operation across a series of values, as long as the correspondingTypeis an association.ObjectArrayType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)ObjectCollectionType. replaceElements(Object original, Object target, Object owner, Map copyCache, SharedSessionContractImplementor session)Replace the elements of a collection with the elements of another collection.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.byte[]BinaryType. seed(SharedSessionContractImplementor session)已过时。useRowVersionTypefor binary entity versions/timestampsByteByteType. seed(SharedSessionContractImplementor session)CalendarCalendarType. seed(SharedSessionContractImplementor session)ObjectCustomType. seed(SharedSessionContractImplementor session)DateDbTimestampType. seed(SharedSessionContractImplementor session)InstantInstantType. seed(SharedSessionContractImplementor session)IntegerIntegerType. seed(SharedSessionContractImplementor session)LocalDateTimeLocalDateTimeType. seed(SharedSessionContractImplementor session)LongLongType. seed(SharedSessionContractImplementor session)OffsetDateTimeOffsetDateTimeType. seed(SharedSessionContractImplementor session)byte[]RowVersionType. seed(SharedSessionContractImplementor session)ShortShortType. seed(SharedSessionContractImplementor session)DateTimestampType. seed(SharedSessionContractImplementor session)TVersionType. seed(SharedSessionContractImplementor session)Generate an initial version.ZonedDateTimeZonedDateTimeType. seed(SharedSessionContractImplementor session)ObjectAbstractStandardBasicType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectAbstractType. semiResolve(Object value, SharedSessionContractImplementor session, Object owner)ObjectAnyType. 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.PersistentCollectionArrayType. wrap(SharedSessionContractImplementor session, Object array)PersistentCollectionBagType. wrap(SharedSessionContractImplementor session, Object collection)abstract PersistentCollectionCollectionType. wrap(SharedSessionContractImplementor session, Object collection)Wrap the naked collection instance in a wrapper, or instantiate a holder.PersistentCollectionCustomCollectionType. wrap(SharedSessionContractImplementor session, Object collection)PersistentCollectionIdentifierBagType. wrap(SharedSessionContractImplementor session, Object collection)PersistentCollectionListType. wrap(SharedSessionContractImplementor session, Object collection)PersistentCollectionMapType. wrap(SharedSessionContractImplementor session, Object collection)PersistentCollectionSetType. wrap(SharedSessionContractImplementor session, Object collection)PersistentCollectionSortedMapType. wrap(SharedSessionContractImplementor session, Object collection)PersistentCollectionSortedSetType. wrap(SharedSessionContractImplementor session, Object collection) -
org.hibernate.usertype中SharedSessionContractImplementor的使用
参数类型为SharedSessionContractImplementor的org.hibernate.usertype中的方法 修饰符和类型 方法 说明 ObjectCompositeUserType. assemble(Serializable cached, SharedSessionContractImplementor session, Object owner)Reconstruct an object from the cacheable representation.SerializableCompositeUserType. disassemble(Object value, SharedSessionContractImplementor session)Transform the object into its cacheable representation.PersistentCollectionUserCollectionType. instantiate(SharedSessionContractImplementor session, CollectionPersister persister)Instantiate an uninitialized instance of the collection wrapperObjectUserVersionType. next(Object current, SharedSessionContractImplementor session)Increment the version.ObjectCompositeUserType. 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.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 collectionObjectUserVersionType. seed(SharedSessionContractImplementor session)Generate an initial version.PersistentCollectionUserCollectionType. wrap(SharedSessionContractImplementor session, Object collection)Wrap an instance of a collection
-