1. Explore
  2. »
  3. Hibernate Core
  4. »
  5. org.hibernate.exception

org.hibernate.exception errorsHibernate Core

Top patterns

  1. Constraint violation

    Many situations lead to constraint violation:

    • duplicate insert
    • foreign key checks failing
    • invalid value in a column
  2. JDBCExceptionHelper.convert() has thrown a SQLGrammarException
    No solution
  3. JDBCExceptionHelper.convert() has thrown a ConstraintViolationException
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Constraint violation

org.hibernate.exception.ConstraintViolationException
org.hibernate.exception.SQLStateConverter.convert
116Web pages
1Solution
ConstraintViolationExceptionSQLStateConverter.convert()116

JDBCExceptionHelper.convert() has thrown a SQLGrammarException

org.hibernate.exception.SQLGrammarException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
113Web pages
SQLGrammarExceptionJDBCExceptionHelper.convert()113

JDBCExceptionHelper.convert() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
103Web pages
ConstraintViolationExceptionJDBCExceptionHelper.convert()103

JDBCExceptionHelper.convert() has thrown a JDBCConnectionException

org.hibernate.exception.JDBCConnectionException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
35Web pages
JDBCConnectionExceptionJDBCExceptionHelper.convert()35

Violating data type constraint

org.hibernate.exception.DataException
org.hibernate.exception.SQLStateConverter.convert
26Web pages
1Solution
DataExceptionSQLStateConverter.convert()26

JDBCExceptionHelper.convert() has thrown a DataException

org.hibernate.exception.DataException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
22Web pages
DataExceptionJDBCExceptionHelper.convert()22

JDBCExceptionHelper.convert() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
2 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
18Web pages
GenericJDBCExceptionJDBCExceptionHelper.convert()18

JDBCExceptionHelper.convert() has thrown a LockAcquisitionException

org.hibernate.exception.LockAcquisitionException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
17Web pages
LockAcquisitionExceptionJDBCExceptionHelper.convert()17

JDBCExceptionHelper.convert() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
12Web pages
ConstraintViolationExceptionJDBCExceptionHelper.convert()12

JDBCExceptionHelper.convert() has thrown a JDBCConnectionException

org.hibernate.exception.JDBCConnectionException
2 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
12Web pages
JDBCConnectionExceptionJDBCExceptionHelper.convert()12

JDBCExceptionHelper.convert() has thrown a SQLGrammarException

org.hibernate.exception.SQLGrammarException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
6Web pages
SQLGrammarExceptionJDBCExceptionHelper.convert()6

SQLStateConverter.convert() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
org.hibernate.exception.SQLStateConverter.convert
5Web pages
GenericJDBCExceptionSQLStateConverter.convert()5

CacheSQLStateConverter.convert() has thrown a SQLGrammarException

org.hibernate.exception.SQLGrammarException
org.hibernate.exception.CacheSQLStateConverter.convert
3Web pages
SQLGrammarExceptionCacheSQLStateConverter.convert()3

JDBCExceptionHelper.convert() has thrown a SQLGrammarException

org.hibernate.exception.SQLGrammarException
2 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
3Web pages
SQLGrammarExceptionJDBCExceptionHelper.convert()3

JDBCExceptionHelper.convert() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
org.hibernate.exception.JDBCExceptionHelper.convert
2Web pages
ConstraintViolationExceptionJDBCExceptionHelper.convert()2

JDBCExceptionHelper.convert() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
1 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
2Web pages
GenericJDBCExceptionJDBCExceptionHelper.convert()2

JDBCExceptionHelper.convert() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
3 frames hidden
org.hibernate.exception.JDBCExceptionHelper.convert
2Web pages
GenericJDBCExceptionJDBCExceptionHelper.convert()2
Nothing to list here.
Nothing to list here.
Nothing to list here.