I am using Hibernate Seam managed Persistence Layer. How can I catch sql exception thrown on transaction commit.
My application behaves normally even on sql exception on transaction commit. I want to show some message etc on exceptions.
Unfortunately, exception handling is a big hole in JSF. The best approach is probably to use a servlet filter.