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
Instead of IDENTITY use NATIVE and use a sequence with it. Link