Is there a way to specify distinct sequences for each table in Hibernate, if the ID is defined on a mapped superclass?
All entities in our application extend a super
IHMO there is better way to do this:
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) private int id;
It works in my app.