Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistence exception

 
Rajesh Santhanakrishnan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to analyse a working code with some modifications for mybatis connection.



After modifcations, I was getting PersistenceException while trying to access the try block.
Could you please tell me what persistence exception is and why it occurs
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PersistenceException just means something went wrong. It could be a malformed query or the database being unavailable or anything. You'd need to print the full stack trace to find the actual problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic