Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Batch Update Error  RSS feed

 
Ranch Hand
Posts: 64
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
 
author & internet detective
Posts: 39208
726
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: 64
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
 
mohammad shadab
Ranch Hand
Posts: 64
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

mohammad shadab wrote:Batch entry 0 update service  set test_primary_claimid = null,test_submit_status=case when test_submit_status ilike 'k' then 'g' else service_submit_status  end, test_dualins_status=-1 from xyz where test_id=7777 and x7777=888 was aborted.  Call getNextException to see the cause.---error is here

 
We begin by testing your absorbancy by exposing you to this tiny ad:
global solutions you can do at home or in your backyard
https://www.kickstarter.com/projects/paulwheaton/better-world-boo
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!