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

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


org.hibernate.id
Interface Configurable

All Known Implementing Classes:
Assigned, ForeignGenerator, IncrementGenerator, MultipleHiLoPerTableGenerator, SelectGenerator, SequenceGenerator, SequenceStyleGenerator, TableGenerator, TableGenerator, UUIDHexGenerator

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