I have a system in JEE7 with Hibernate and PostgreSQL database, the tables are with auto Id generation by Hibernate:
@GeneratedValue(strategy = GenerationType.AUTO)
private Integer id;
What happens is that Hibernate generates a unique index for all tables, for example, an id = 657 for Client and the next id = 658 for Product, .....
How would it be possible to generate an index automatically for each table?
Thank you.