Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » exception » [javadoc | source]
org.hibernate.exception
public class: SQLGrammarException [javadoc | source]
java.lang.Object
   org.hibernate.JDBCException
      org.hibernate.exception.SQLGrammarException
Implementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc).
Constructor:
 public SQLGrammarException(String message,
    SQLException root) 
    Constructor for JDBCException.
    Parameters:
    root - The underlying exception.
 public SQLGrammarException(String message,
    SQLException root,
    String sql) 
    Constructor for JDBCException.
    Parameters:
    message - Optional message.
    root - The underlying exception.
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait