I am using JPA(Java Persistence API) for persisting my classes to the database.
One of the class doesn't use autoID generation strategy.
In the file persistence.xml the strategy for creating table is *"drop and create"*.
But whenever I rerun the program and set the primary key via the same value again it gives integrity error.
This error is showing the class that doesn't use the autoID generation strategy