• Post Reply Bookmark Topic Watch Topic
  • New Topic

Batch Update Error

 
mohammad shadab
Ranch Hand
Posts: 52
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hiiii,
i am using batch update query with postgres sql database.i am getting batch update excetipn .how to handle please help
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36032
432
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means that something went wrong for one or more of the updates in the batch. Can you call e.printStackTrace() and e.getMessage() to see if there is any more information.

Depending on the error, we might need to see the Java code or SQL to help you correct it.
 
mohammad shadab
Ranch Hand
Posts: 52
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Batch entry 0 update service set service_primary_claimid = null,service_submit_status=case when service_submit_status ilike 'k' then 'g' else service_submit_status end, service_dualins_status=-1 from h172 where service_id=7777 and h888=888 was aborted. Call getNextException to see the cause.---error is here
 
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!