JDBCException indicating that the SQL sent to the
database server was invalid, either due to a syntax error, unrecognized name,
or similar problem.
The name of this class is misleading: the SQL might be syntactically well-formed.
| Access | Constructor and Description |
|---|---|
| public | SQLGrammarException(String message, SQLException
The underlying exception. root)Constructor for JDBCException. |
| public | SQLGrammarException(String
Optional message. message, SQLException The underlying exception. root, String sql)Constructor for JDBCException. |
| SQLGrammarException | back to summary |
|---|---|
| public SQLGrammarException(String message, SQLException root) Constructor for JDBCException.
| |
| SQLGrammarException | back to summary |
|---|---|
| public SQLGrammarException(String message, SQLException root, String sql) Constructor for JDBCException.
| |