This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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
 
wood burning stoves
 
subject: Spring + hibernate org.hibernate.AssertionFailure after insert fails in database