public class

SQLGrammarException

extends JDBCException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.hibernate.HibernateException
           ↳ org.hibernate.JDBCException
             ↳ org.hibernate.exception.SQLGrammarException

Class Overview

Implementation of JDBCException indicating that the SQL sent to the database server was invalid (syntax error, invalid object references, etc).

Summary

Public Constructors
SQLGrammarException(String message, SQLException root)
Constructor for JDBCException.
SQLGrammarException(String message, SQLException root, String sql)
Constructor for JDBCException.
[Expand]
Inherited Methods
From class org.hibernate.JDBCException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

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.