类的使用
org.hibernate.engine.spi.CollectionKey
-
使用CollectionKey的程序包 程序包 说明 org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.loading.internal Internal classes used to track loading of data, potentially across multiple ResultSetsorg.hibernate.engine.spi org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs. -
-
org.hibernate.engine.internal中CollectionKey的使用
参数类型为CollectionKey的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 PersistentCollectionStatefulPersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection persistentCollection)voidStatefulPersistenceContext. addUnownedCollection(CollectionKey key, PersistentCollection collection)PersistentCollectionStatefulPersistenceContext. getCollection(CollectionKey collectionKey)voidStatefulPersistenceContext. removeCollectionByKey(CollectionKey collectionKey)PersistentCollectionStatefulPersistenceContext. useUnownedCollection(CollectionKey key) -
org.hibernate.engine.loading.internal中CollectionKey的使用
参数类型为CollectionKey的org.hibernate.engine.loading.internal中的方法 修饰符和类型 方法 说明 PersistentCollectionLoadContexts. locateLoadingCollection(CollectionPersister persister, CollectionKey key)Attempt to locate the loading collection given the CollectionKey obtained from the owner's key. -
org.hibernate.engine.spi中CollectionKey的使用
返回CollectionKey的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 static CollectionKeyCollectionKey. deserialize(ObjectInputStream ois, SessionImplementor session)Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.参数类型为CollectionKey的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 PersistentCollectionPersistenceContext. addCollectionByKey(CollectionKey collectionKey, PersistentCollection persistentCollection)Adds a collection in the collections-by-key map.voidPersistenceContext. addUnownedCollection(CollectionKey key, PersistentCollection collection)Add a collection which has no owner loadedPersistentCollectionPersistenceContext. getCollection(CollectionKey collectionKey)Get the collection instance associated with the CollectionKeyvoidPersistenceContext. removeCollectionByKey(CollectionKey collectionKey)Remove a collection-by-key mapping.PersistentCollectionPersistenceContext. useUnownedCollection(CollectionKey key)Take ownership of a previously unowned collection, if one. -
org.hibernate.internal中CollectionKey的使用
参数类型为CollectionKey的org.hibernate.internal中的方法 修饰符和类型 方法 说明 voidCoreMessageLogger. loadingCollectionKeyNotFound(CollectionKey collectionKey)
-