程序包 org.hibernate.id
接口 Configurable
-
- 所有已知实现类:
Assigned,ForeignGenerator,IncrementGenerator,MultipleHiLoPerTableGenerator,SelectGenerator,SequenceGenerator,SequenceHiLoGenerator,SequenceIdentityGenerator,SequenceStyleGenerator,TableGenerator,UUIDGenerator,UUIDHexGenerator
public interface ConfigurableAnIdentifierGeneratorthat supports "configuration".- 作者:
- Gavin King, Steve Ebersole
- 另请参阅:
IdentifierGenerator
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidconfigure(Type type, Properties params, ServiceRegistry serviceRegistry)Configure this instance, given the value of parameters specified by the user as <param> elements.
-
-
-
方法详细资料
-
configure
void configure(Type type, Properties params, ServiceRegistry serviceRegistry) 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.- 参数:
type- The id property type descriptorparams- param values, keyed by parameter nameserviceRegistry- Access to service that may be needed.- 抛出:
MappingException
-
-