I’m using Hiberanate with struts. I’m wondering how to get the sql error.
For example, I get the error “delete failed” from hibernate, but I can not distinguish why it failed…were there related records?
If I insert and it fails because of a duplicate key — all I get is “insert failed”.
Anybody know how I can determine what the reall error was?
Lee