This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Spring + hibernate org.hibernate.AssertionFailure after insert fails in database
 
Similar Threads
TransientObjectException
SQLGrammerException in Hibernate
Update in hibernate
Error while updating in hibernate..
Trouble running example in Hibernate Made Easy, page 95