Announcement Announcement Module
Collapse
No announcement yet.
How could I control exceptions thrown by OpenSessionInViewFilter? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How could I control exceptions thrown by OpenSessionInViewFilter?

    Hi folks,

    I wonder how I can catch exceptions throw by org.springframework.orm.hibernate3.support.OpenSes sionInViewFilter.
    For example, when I try deleting a object that another object depends and has a constraint in my database, OpenSessionInViewFilter throws a ConstraintViolationException.

    How would it be the best manner to handle this situation?
    Are there someone that have gotten this issue?

    Thank you very much!
    Reply With Quote
Working...
X