Class SelectGenerator

All Implemented Interfaces:
Configurable, IdentifierGenerator, PostInsertIdentifierGenerator

public class SelectGenerator extends AbstractPostInsertGenerator implements Configurable
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).