aspose file tools*
The moose likes Object Relational Mapping and the fly likes Spring + hibernate org.hibernate.AssertionFailure after insert fails in database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Spring + hibernate org.hibernate.AssertionFailure after insert fails in database" Watch "Spring + hibernate org.hibernate.AssertionFailure after insert fails in database" New topic
Author

Spring + hibernate org.hibernate.AssertionFailure after insert fails in database

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
I am using spring 3.0 and hibernate 3.0, i am using spring to manage hibernate transaction, when ever i have error when inserting or updating data in database i get following exception

The code in controller is as below, so i am catching saveAirport method, so i am expecting the page getting redirected to reference/add_airport.jsp, but it throws error, any ideas how to handle this issue




A$HI$H
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring + hibernate org.hibernate.AssertionFailure after insert fails in database
 
Similar Threads
TransientObjectException
Update in hibernate
SQLGrammerException in Hibernate
Trouble running example in Hibernate Made Easy, page 95
Error while updating in hibernate..