2.13.5. Generators

One aspect of identity mapping not covered in the previous section is JPA’s ability to automatically assign a value to your numeric identity fields using generators. We discussed the available generator types in Id. Now we show you how to define named generators.