aspose file tools
The moose likes JDBC and the fly likes DB errors + hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "DB errors + hibernate" Watch "DB errors + hibernate" New topic
Author

DB errors + hibernate

Vadim javasd
Greenhorn

Joined: Sep 16, 2011
Posts: 1
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".


P.S. Sorry for my English.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: DB errors + hibernate
 
Similar Threads
Confusion on equals() method
Hibernate: long-lived session
Object doesn't equal proxy, I think
okay what am i doing wrong?
How to persist objects having circular references using Hibernate