So I'm trying to use a sql-maven-plugin to import my backup database.
I used annotation @GeneratedValue(strategy = GenerationType.TABLE )
on my Entities, so my backup database has hibernate_sequence
table with it.
How to avoid this error, but still use @Id @GeneratedValue
?
[ERROR] Failed to execute goal org.codehaus.mojo:sql-maven-plugin:1.5:execute (populate-database) on project app: ERROR: relation "hibernate_sequence" already exists -> [Help 1]