Questions tagged [batch-updates]

171 questions
0
votes
2 answers

Google App-Engine Java Batch Update

I need to upload a .csv file and save the records in bigtable. My application successfully parse 200 records in the csv files and save to table. Here is my code to save the data. for (int i=0;i
Manjoor
  • 4,091
  • 10
  • 43
  • 67
0
votes
1 answer

java.sql.BatchUpdateException: Row x was cut by GROUP_CONCAT()

I have a batch update function which doesn't contain any GROUP_CONCAT() call; UPDATE product SET viewed = ? WHERE product_id = ? As you see it's a prepared statement. I'm setting its values and then adding it by using addBatch()…
csonuryilmaz
  • 1,715
  • 24
  • 24
0
votes
2 answers

MyBatis batch update for oracle

I am trying to do the batch update in myBatis with oracle Database, where i have to update 10K+ records. But when i use below I am getting exception says 'invalid character'. It is working fine when i do single update statement multiple…
0
votes
1 answer

How to execute few queries in one transaction in my DAO class? Is it possible to do it creating one query?

I'm new in Java development and I need some help with writing batch of queries in my java DAO class. In my DAO class I would like to write an update query that will update few tables. Something like: UPDATE deals, vehicles SET deals.client=…
Jordan
  • 9
  • 3
0
votes
1 answer

Mass update by ids

In the table about 10,000-20,000 objects. I have about 1000 id entries, which you want to change one value. How to do this correctly? I don't want to use each which will be 1000 times INSERT. I think this is not correct. P.S. This is a normal…
0
votes
1 answer

RavenDB batch update

I'm trying to perform batch update for the list of raven documents. The code below var result = documentStore.DatabaseCommands.Batch(documents.Select(d => new PutCommandData { Document = RavenJObject.FromObject(d), Etag = null, Key…
drgraduss
  • 371
  • 2
  • 13
0
votes
1 answer

Batch save Kendo Grid in Inline edit mode

I have a MVC3 Razor View for a simple Contact entity - first and last name, job title etc - including a grid being used to save one or more phone numbers. The grid appears setup in inline edit mode after the user clicks save to create a new item,…
GP24
  • 867
  • 2
  • 13
  • 28
0
votes
2 answers

How to compare two files

I'm back with another question, this time it's about the FC console command. I'm making a chat program and my problem is: I want people available to change password, but how do I check if the password is the same password as the last…
user3711960
0
votes
1 answer

mysql jdbc connector batch update exception update count not as expected

I am using batch insert from my Java application into mysql database for bulk data loading. For compiling a result of failed executions, we are handling BatchUpdateException in the following way: catch (BatchUpdateException e) { …
sutanu dalui
  • 663
  • 7
  • 25
0
votes
1 answer

How to make the SET command not wait for answer?

I've made a chat program and it works great, the only problem I have is that the SET /P command will wait until you press something and then press ENTER. There's my code that I got problems with: :CHAT CLS SET TEXT= TYPE "%FILESDIR%\Files\CHAT.cht"…
user3711960
0
votes
1 answer

Titan batch graph

I want to add a new Property [and some times add edges] to a selection of nodes in an existing Graph of 2 million nodes, 10+ million edges. I thought of using BatchGraph but from their WIKI looks like it does not support any retrieval queries. For…
Alfiyum
  • 361
  • 2
  • 7
0
votes
2 answers

"Element of parameter updates is missing or invalid" exception when deleting item from sharepoint repository

I'm getting an error Element of parameter updates is missing or invalid when trying to delete a file in sharepoint repository. My request is:
0
votes
3 answers

Bulk update in grails

I'm using grails 2.2.2 and mysql database.There are 800 records in my table(which will increase over time).I have to update a particular column value to a new value based on some calculations. Please suggest a way which does not impact the…
Manisha
  • 775
  • 6
  • 13
  • 30
0
votes
1 answer

insert/update based on primary key through JdbcBatchItemWriter. Will oracle merge have any performance issues in this case?

I need to insert or update records based on whether record already exist. I am using JdbcBatchItemWriter to write the records. but if the record with the primary key already exist, I should update it... So one solution is: To make two seperate lists…
user2971387
  • 109
  • 1
  • 3
  • 11
0
votes
1 answer

Kendo Batch Update without Incell editing

I'm trying to do an ajax batch update without enabling InCell Editing in a Kendo Grid. I want to allow the users to select a bunch of rows, and then mark them as a certain status (selected from a drop down) and then do a batch update. Is there a way…
Shawn
  • 2,356
  • 6
  • 48
  • 82