• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to insert using hibernate

deepika bhatia
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i m using generic generator increment srategy to insert data in the table.At times hibernate doesnot calles select (max) query on the table and when it inserts data in the table,unique key voilation constraint is thee.Howerver if i restart the server,issue gets resolved.
What could be the problem??
Any help would be greatly appreiciated
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!