• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.sql.batchupdateexception

 
arjun rampal
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi getting this exception

any idea

Caused by: java.sql.BatchUpdateException: Missing key in referenced table for referential constraint (webadrep.det_fk).
at com.informix.jdbc.IfxPreparedStatement.executeBatch(IfxPreparedStatement.java:3437)
at com.dhl.auditdatamgr.dao.AuditDAO.setDetailedAuditData(AuditDAO.java:94)
... 1 more
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65678
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please reserve this forum for advanced Java questions. Moved this one to the JDBC forum.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!