Java org.hibernate.exception ConstraintViolationException fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.exception ConstraintViolationException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.exception ConstraintViolationException.

The text is from its open source code.

Subclass

org.hibernate.exception.ConstraintViolationException has subclasses.
Click this link to see all its subclasses.

Constructor

Method

StringgetConstraintName()
Returns the name of the violated constraint, if known.
intgetErrorCode()
Get the vendor specific error code from the underlying SQLException .
StringgetSQL()
Get the actual SQL statement being executed when the exception occurred.
SQLExceptiongetSQLException()
Get the underlying SQLException .
StringgetSQLState()
Get the X/Open or ANSI SQL SQLState error code from the underlying SQLException .