Top Description Methods
org.hibernate.id.enhanced

public Interface InitialValueAwareOptimizer

Known Direct Implementers
org.hibernate.id.enhanced.PooledOptimizer

Marker interface for optimizer which wishes to know the user-specified initial value.

Used instead of constructor injection since that is already a public understanding and because not all optimizers care.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public void
injectInitialValue(long
The initial value specified by the user, or -1 to indicate that the user did not specify.
initialValue
)

Reports the user specified initial value to the optimizer.

Method Detail

injectInitialValueback to summary
public void injectInitialValue(long initialValue)

Reports the user specified initial value to the optimizer.

-1 is used to indicate that the user did not specify.

Parameters
initialValue:long

The initial value specified by the user, or -1 to indicate that the user did not specify.