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

org.hibernate.jdbc errorsHibernate Core

Top patterns

  1. Suspicious operation on a row in batch

    This happens in multiple cases when executing a batch query:

    • updating the same row more than once in a transaction
    • updating a row by id that does not exist
    • deleting a row by id that does not exist
  2. AbstractBatcher.executeBatch() has thrown a ConstraintViolationException
    No solution
  3. BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException
    No solution
Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Suspicious operation on a row in batch

org.hibernate.StaleStateException
1 frames hidden
org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome
157Web pages
1Solution
StaleStateExceptionExpectations$BasicExpectation.verifyOutcome()157

AbstractBatcher.executeBatch() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
2 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
62Web pages
ConstraintViolationExceptionAbstractBatcher.executeBatch()62

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
41Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()41

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
4 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
40Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()40

ConnectionManager.openConnection() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
4 frames hidden
org.hibernate.jdbc.ConnectionManager.openConnection
37Web pages
GenericJDBCExceptionConnectionManager.openConnection()37

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
36Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()36

ConnectionManager.getConnection() has thrown a GenericJDBCException

org.hibernate.exception.GenericJDBCException
5 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
33Web pages
GenericJDBCExceptionConnectionManager.getConnection()33

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
2 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
32Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()32

BatchingBatcher.doExecuteBatch() has thrown a StaleStateException

org.hibernate.StaleStateException
2 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
31Web pages
StaleStateExceptionBatchingBatcher.doExecuteBatch()31

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
30Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()30

NonBatchingBatcher.addToBatch() has thrown a StaleStateException

org.hibernate.StaleStateException
2 frames hidden
org.hibernate.jdbc.NonBatchingBatcher.addToBatch
26Web pages
StaleStateExceptionNonBatchingBatcher.addToBatch()26

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
4 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
25Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()25

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
5 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
24Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()24

ConnectionManager.getConnection() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
2 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
20Web pages
UnsupportedOperationExceptionConnectionManager.getConnection()20

ConnectionManager.getConnection() has thrown a JDBCConnectionException

java.sql.SQLException
8 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
18Web pages
JDBCConnectionExceptionConnectionManager.getConnection()18

AbstractBatcher.executeBatch() has thrown a ConstraintViolationException

java.sql.BatchUpdateException
6 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
16Web pages
ConstraintViolationExceptionAbstractBatcher.executeBatch()16

AbstractBatcher.executeBatch() has thrown a ConstraintViolationException

java.sql.BatchUpdateException
7 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
16Web pages
ConstraintViolationExceptionAbstractBatcher.executeBatch()16

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
1 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
16Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()16

AbstractBatcher.executeBatch() has thrown a ConstraintViolationException

java.sql.BatchUpdateException
6 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
15Web pages
ConstraintViolationExceptionAbstractBatcher.executeBatch()15

AbstractBatcher.prepareBatchStatement() has thrown a ConstraintViolationException

org.hibernate.exception.ConstraintViolationException
5 frames hidden
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement
15Web pages
ConstraintViolationExceptionAbstractBatcher.prepareBatchStatement()15

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
2 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
15Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()15

AbstractBatcher.executeBatch() has thrown a GenericJDBCException

java.sql.BatchUpdateException
8 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
14Web pages
GenericJDBCExceptionAbstractBatcher.executeBatch()14

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
17 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
13Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()13

AbstractBatcher.executeBatch() has thrown a ConstraintViolationException

java.sql.BatchUpdateException
8 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
13Web pages
ConstraintViolationExceptionAbstractBatcher.executeBatch()13

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
12Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()12

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
12Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()12

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
4 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
12Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()12

NonBatchingBatcher.addToBatch() has thrown a PSQLException

org.postgresql.util.PSQLException
7 frames hidden
org.hibernate.jdbc.NonBatchingBatcher.addToBatch
12Web pages
PSQLExceptionNonBatchingBatcher.addToBatch()12

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
2 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
11Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()11

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
4 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
11Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()11

Expectations$BasicExpectation.verifyOutcome() has thrown a BatchedTooManyRowsAffectedException

org.hibernate.jdbc.BatchedTooManyRowsAffectedException
1 frames hidden
org.hibernate.jdbc.Expectations$BasicExpectation.verifyOutcome
11Web pages
BatchedTooManyRowsAffectedExceptionExpectations$BasicExpectation.verifyOutcome()11

AbstractBatcher.executeBatch() has thrown a GenericJDBCException

java.sql.BatchUpdateException
8 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
11Web pages
GenericJDBCExceptionAbstractBatcher.executeBatch()11

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException
18 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
11Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()11

ConnectionManager.getConnection() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
3 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
11Web pages
UnsupportedOperationExceptionConnectionManager.getConnection()11

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
10Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()10

ConnectionManager.getConnection() has thrown a JDBCConnectionException

org.hibernate.exception.JDBCConnectionException
4 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
10Web pages
JDBCConnectionExceptionConnectionManager.getConnection()10

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
6 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
10Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()10

ConnectionManager.getConnection() has thrown a GenericJDBCException

com.mchange.v2.resourcepool.CannotAcquireResourceException
14 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
9Web pages
GenericJDBCExceptionConnectionManager.getConnection()9

BatchingBatcher.doExecuteBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch
9Web pages
BatchUpdateExceptionBatchingBatcher.doExecuteBatch()9

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
5 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
9Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()9

JDBCContext.connection() has thrown a SessionException

org.hibernate.SessionException
org.hibernate.jdbc.JDBCContext.connection
8Web pages
SessionExceptionJDBCContext.connection()8

AbstractBatcher.executeBatch() has thrown a SQLGrammarException

org.hibernate.exception.SQLGrammarException
2 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
8Web pages
SQLGrammarExceptionAbstractBatcher.executeBatch()8

AbstractBatcher.prepareBatchStatement() has thrown a StaleStateException

org.hibernate.StaleStateException
7 frames hidden
org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement
8Web pages
StaleStateExceptionAbstractBatcher.prepareBatchStatement()8

AbstractBatcher.executeBatch() has thrown a SQLGrammarException

java.sql.BatchUpdateException
6 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
8Web pages
SQLGrammarExceptionAbstractBatcher.executeBatch()8

ConnectionManager.getConnection() has thrown an Exception

java.lang.Exception
5 frames hidden
org.hibernate.jdbc.ConnectionManager.getConnection
7Web pages
ExceptionConnectionManager.getConnection()7

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
4 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
7Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()7

AbstractBatcher.getPreparedStatement() has thrown a SQLSyntaxErrorException

org.apache.derby.client.am.SqlException
14 frames hidden
org.hibernate.jdbc.AbstractBatcher.getPreparedStatement
7Web pages
SQLSyntaxErrorExceptionAbstractBatcher.getPreparedStatement()7

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
4 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
7Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()7

AbstractBatcher.executeBatch() has thrown a BatchedTooManyRowsAffectedException

org.hibernate.jdbc.BatchedTooManyRowsAffectedException
4 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
7Web pages
BatchedTooManyRowsAffectedExceptionAbstractBatcher.executeBatch()7

AbstractBatcher.executeBatch() has thrown a BatchUpdateException

java.sql.BatchUpdateException
3 frames hidden
org.hibernate.jdbc.AbstractBatcher.executeBatch
7Web pages
BatchUpdateExceptionAbstractBatcher.executeBatch()7
Nothing to list here.
Nothing to list here.
Nothing to list here.