Home > Back-end >  Consult! Hibernate how to capture the SQLException SQLState status code?
Consult! Hibernate how to capture the SQLException SQLState status code?

Time:09-17

Consult a great god, and how to get the SQLState state, SQLException can use um participant etSQLState (), Hibernate catch exceptions which can get the status code?

CodePudding user response:

From the top, for help

CodePudding user response:

Hello! Capture the SQLException SQLState status code you finally how to solve? It's convenient to inform?

CodePudding user response:

refer to the second floor bootOne response:
hello! Capture the SQLException SQLState status code you finally how to solve? It's convenient to inform?
use JDBC
  • Related