Dear Community,
can someone tell me how it is possible to automatically create a separate ID sequence for each individual entity class instead of a global ‘hibernate_sequence’ that globally increments the IDs for all classes?
Is a special configuration of the persistence unit necessary?
Or is this only possible with POJOs and writing JPA annotations by myself? (If so, could you give me a minimal example of how to do this?)
Additional information:
- I use the Persistence Unit and would like to use the entity class editor instead of writing POJOs.
- PostgreSQL is used as the database in the Persistence Unit.
Thank you for your help! 🙂