Questions tagged [batch-updates]

171 questions
0
votes
0 answers

Batch updating several items using REST API in SharePoint Online

Please provide a working solution for this, I'm getting 400 bad request error when doing a batch update. I tried Andrew Cornell's blog post in this regard. But couldn't get it to work yet. Below is the code I tried. // create the changeset …
yala_cat
  • 309
  • 4
  • 21
0
votes
1 answer

BatchUpdateException in PostgreSQL Database

I am getting BatchUpdateException while inserting data into PostgreSQl through file The exception I get is: Batch entry 0 {call PACKAGE_NAME.PROCEDURE_NAME()} was aborted. Call getNextException to see the cause Source code is below :- successMsg…
0
votes
1 answer

Tensorflow: parameters do not update when tuning network

I want to implement my project by two steps: 1. training the network using some data; 2. turning the trained network using some other data. For the first step (training the network), I have got a not bad result. But, for the second step (turning the…
Qiang Zhang
  • 820
  • 8
  • 32
0
votes
2 answers

how to perform multiple updation with different id's in codeigniter mysql

i have 2 tables: table 1 ( leads_records ) - lead_id , lead_number 101 , 852114774 102 , 3465799855 103 , 8797987979 table 2 (leads_assign) - assign_id , lead_id , lead_number 1 , 0 , 852114774 2 …
Maneesh Sharma
  • 63
  • 1
  • 12
0
votes
1 answer

Insert max + 1 from one table in two different table in batch update from java

I have requirement of auto increment value in 2 tables with referential relation. My requirement is to insert data in two tables :- Table A = Rowid , other columns Table B = Rowid , other columns I need to insert data from…
Panther
  • 3,312
  • 9
  • 27
  • 50
0
votes
1 answer

Batch File: Edit multiple files and save with names based on variables, plus insert text into output files

I have XML files that I need to split into multiple files, and I already have a batch file that does this well for single files. I need to edit the batch file to handle a large number of XML files in a single directory. I've attempted several…
Sikit
  • 1
0
votes
1 answer

Determine cause of execute failure per row from BatchUpdateException

I have a java program that reads thousands of rows of data from a text file into a database. It uses statement batching to insert a couple thousand rows at a time. If rows any rows fail to update, I continue attempting the rest until the end of the…
user1538516
  • 49
  • 1
  • 1
  • 10
0
votes
0 answers

Batch Update request puts NSNumber fields to nil [Swift]

I'm working with web app. I have UITableViewController which deals with NSFetchedResultsController. I store tableView's objects through CoreData. When a user refreshes UI I perform server request and then call batch update for each new entity, my…
Mikhail Maslo
  • 616
  • 6
  • 13
0
votes
1 answer

Best way implement set of update queries as batches using executebatch() is within a loop

In the following method I'm trying to run an update query as batches. But this method hangs time to time when it's run. My assumption is that for some reason it creates a DB table lock on the sample_table and then when the executebatch is run again,…
direndd
  • 642
  • 2
  • 16
  • 47
0
votes
1 answer

batch update for updating multiple records in spring mvc with mysql

I have an issue that suppose I have say 100 records initially, and I shown them on UI as a list of users. Now I have given the provision to deactivate number users by clicking "deactivate" button which is placed against every single record, I then…
Vish
  • 280
  • 2
  • 18
0
votes
1 answer

Batch update specify column dynamically

I am going to use github.com/loresoft/EntityFramework.Extended library to batch update. Here is the sample code to use for batch update: context .Tasks .Where(t => t.StatusId == 1) .Update(t => new Task { StatusId = 2 }) I want to specify StatusId…
0
votes
2 answers

Improve knockout performance when changing multiple observables at once

I would be grateful for any performance suggestions for the "click" event in the JSFiddle provided. The idea is to improve performance when changing multiple observables at once. I was unable to find any documentation as to pausing and resuming…
Stevanicus
  • 7,561
  • 9
  • 49
  • 70
0
votes
1 answer

JDBC batch update skipping out on initial set of update statements

We are using JDBC batch update (Statement - void addBatch( String sql ) and int[] executeBatch()) in our Java code. The job is supposed to insert about 27k records in a table and then update about 18k records in a subsequent batch. When our job…
0
votes
1 answer

Hibernate Jpa batch insert not working

I am using hibernate jpa to perform a batch update . Its not giving any error or exceptions but the transaction roll backs everytime giving. 2015-04-21 16:30:33,548 ERROR [org.jboss.as.ejb3] (Thread-344 (HornetQ-client-global-threads-462057890))…
kirti
  • 4,499
  • 4
  • 31
  • 60
0
votes
0 answers

Trigger of Batch Update

I have 3 tables and a trigger in the Purchase table. User (UserId | Balance) Purchase (PurchaseId | UserId | Amount | IsConfirm) TransactionDetail (TrxId | UserId | Balance |Amount) When the Purchase IsConfirm is updated from False to True, I want…
EpoWilliam
  • 113
  • 1
  • 9