ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (http-thread/192.168.1.1:8080-3) Foreign key constraint violation occurred, dbname = 'db-name', table name = 'tbl-name', constraint name = 'foreing_key_FK'.
Issue
- The following exceptions can be seen in the server log file:
08:31:26,773 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (http-thread/192.168.1.1:8080-3) SQL Error: 546, SQLState: 23000
08:31:26,774 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (http-thread/192.168.1.1:8080-3) Foreign key constraint violation occurred, dbname = 'db-name', table name = 'tbl-name', constraint name = 'foreing_key_FK'
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.