• Post Reply Bookmark Topic Watch Topic
  • New Topic

org.hibernate.HibernateException: The database returned no natively generated identit

 
debrup majumdar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have upgraded my DB2 database and copied the old schema to the new database. But i am getting the error org.hibernate.HibernateException: The database returned no natively generated identity value. The field that is giving this value is mapped in Hibernate as "native".
Is it a set up issue or hibernate related issue.. please help


my old db2 version: 5.4
my new db2 version: 6.1
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!