This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 131
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
 
It's not a secret anymore!