org.hibernate.id
Class SelectGenerator
- Configurable, IdentifierGenerator, PostInsertIdentifierGenerator
public class SelectGenerator
A generator that selects the just inserted row to determine the identifier
value assigned by the database. The correct row is located using a unique
key.
One mapping parameter is required: key (unless a natural-id is defined in the mapping).
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.
- configure in interface Configurable
params
- param values, keyed by parameter name