• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to insert using hibernate

 
deepika bhatia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic