org.hibernate.exception
Class SQLGrammarException
- Nestable
public class SQLGrammarException
Implementation of JDBCException indicating that the SQL sent to the database
server was invalid (syntax error, invalid object references, etc).
getCause , getMessage , getMessage , getMessages , getThrowable , getThrowableCount , getThrowables , indexOfThrowable , indexOfThrowable , printPartialStackTrace , printStackTrace , printStackTrace , printStackTrace |
SQLGrammarException
public SQLGrammarException(String message,
SQLException root)
Constructor for JDBCException.
root
- The underlying exception.
SQLGrammarException
public SQLGrammarException(String message,
SQLException root,
String sql)
Constructor for JDBCException.
message
- Optional message.root
- The underlying exception.