Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DB errors + hibernate  RSS feed

 
Vadim javasd
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I create desktop application. I work with database using hibernate and Netbeans. For example method which delete object from database.


Tell me please how to handle errors when working with a database to display user messages like: "The object has already been removed" or "Record already exists" or "No database connection".
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!