类的使用
org.hibernate.event.spi.LoadEvent
-
使用LoadEvent的程序包 程序包 说明 org.hibernate.event.internal This package defines a default set of event listeners that implements the default behaviors of Hibernate.org.hibernate.event.spi org.hibernate.loader.entity This package defines entity loaders -
-
org.hibernate.event.internal中LoadEvent的使用
参数类型为LoadEvent的org.hibernate.event.internal中的方法 修饰符和类型 方法 说明 protected EntityPersisterDefaultLoadEventListener. getPersister(LoadEvent event)protected ObjectDefaultLoadEventListener. loadFromDatasource(LoadEvent event, EntityPersister persister)Performs the process of loading an entity from the configured underlying datasource.voidDefaultLoadEventListener. onLoad(LoadEvent event, LoadEventListener.LoadType loadType)Handle the given load event. -
org.hibernate.event.spi中LoadEvent的使用
参数类型为LoadEvent的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 voidLoadEventListener. onLoad(LoadEvent event, LoadEventListener.LoadType loadType)Handle the given load event. -
org.hibernate.loader.entity中LoadEvent的使用
参数类型为LoadEvent的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 ObjectCacheEntityLoaderHelper. loadFromSecondLevelCache(LoadEvent event, EntityPersister persister, EntityKey entityKey)Attempts to load the entity from the second-level cache.CacheEntityLoaderHelper.PersistenceContextEntryCacheEntityLoaderHelper. loadFromSessionCache(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options)Attempts to locate the entity in the session-level cache.
-