站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

NamedQueryCollectionInitializer (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.persister.collection
Class NamedQueryCollectionInitializer

java.lang.Object
  extended byorg.hibernate.persister.collection.NamedQueryCollectionInitializer
All Implemented Interfaces:
CollectionInitializer

public final class NamedQueryCollectionInitializer
extends Object
implements CollectionInitializer

A wrapper around a named query.

Author:
Gavin King

Constructor Summary
NamedQueryCollectionInitializer(String queryName, CollectionPersister persister)
           
 
Method Summary
 void initialize(Serializable key, SessionImplementor session)
          Initialize the given collection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedQueryCollectionInitializer

public NamedQueryCollectionInitializer(String queryName,
                                       CollectionPersister persister)
Method Detail

initialize

public void initialize(Serializable key,
                       SessionImplementor session)
                throws HibernateException
Description copied from interface: CollectionInitializer
Initialize the given collection

Specified by:
initialize in interface CollectionInitializer
Throws:
HibernateException