Peter Rooke wrote:. . . that's what spring does.
Whenever you write a framework, you have to take decisions, and that is one of the decisions the creators of Spring took.
Also I believe that most vendor specific database (JDBC) exceptions are converted into springs own exceptions which are common across the vendors.
I can see how useful it would be to have reproducible error messages independent of the database implementation you are using.