I was trying to import a sample project in to eclipse and was facing the below given error up on running the application.
Caused by: org.hibernate.MappingExc
I also had the same problem I am using OracleDB, I tried Identity, GenerateSequence and nothing gave me the solution. Until I had to change the dialect in my application properties. For some reason the dialect was not generating the correct sequence, which is why I decided to use a different dialect for my Oracle12c case.
Before:
spring.jpa.database-platform = org.hibernate.dialect.Oracle10gDialect
Then:
spring.jpa.database-platform = org.hibernate.dialect.Oracle12cDialect
You could verify that you have value in the dialect of your connection maybe and changing it to a different version will be resolved like me.