Hi,
I changed package name for some of my entities in database. I added info in <schema><package... /></schema> of my configuration file - and the changes have been succesfully made in database. Unfortunately, sequences have been probably lost for changed entity classes. After schema change I keep getting errors :
Attempt to reuse an existing primary key value...
My primary keys are annotated as shown below :
@Id @SequenceGenerator(name = "SEQ_BOARD", allocationSize = 5, initialValue = 1) @GeneratedValue(generator = "SEQ_BOARD", strategy = GenerationType.SEQUENCE)