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

Configurable (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.id
Interface Configurable

All Known Implementing Classes:
ForeignGenerator, IncrementGenerator, SequenceGenerator, TableGenerator, UUIDHexGenerator, UUIDStringGenerator

public interface Configurable

An IdentifierGenerator that supports "configuration".

Author:
Gavin King
See Also:
IdentifierGenerator

Method Summary
 void configure(Type type, Properties params, Dialect d)
          Configure this instance, given the value of parameters specified by the user as <param> elements.
 

Method Detail

configure

public void configure(Type type,
                      Properties params,
                      Dialect d)
               throws MappingException
Configure this instance, given the value of parameters specified by the user as <param> elements. This method is called just once, following instantiation.

Parameters:
params - param values, keyed by parameter name
Throws:
MappingException