181 questions
0 votes
1 answer
164 views
How to get Spring Boot + jpa to do batch insert without doing a select for every row with a composite key
We have data we want to insert into a freshly truncated table, around 350k rows. Using saveAll(players) results in a redundant select statement for every player. We don't want it to do a select ...
1 vote
1 answer
280 views
How can I Batch insert in JPA with a composite ID?
I'm using JPA (3.1.1) on all my project and I managed to make everything run smoothly so far, but I'm encountering issues on bacth inserting in an Oracle GTT (global temporary table). (Oracle is in ...
0 votes
1 answer
153 views
CoreData: Grouped fetch by NSManagedObject
I'm inserting hundreds of thousands of objects using NSBatchInsert, now i want to add relationships between objects (let say A and B, with 1-to-many relationship) as no batch operation supports ...
0 votes
1 answer
203 views
Google BigQuery InsertAll with Transaction?
I am new to BigQuery in general and I'm attempting to insert multiple rows into a bigquery table while also modifying another table in a single transaction. I'm using the BigQuery java client in ...
0 votes
0 answers
417 views
Hibernate Batch Insert - sorting of queries not working
I have a Spring Boot backend with Hibernate (on MySQL Database) running. I was, according to several articels (like this one https://www.baeldung.com/jpa-hibernate-batch-insert-update) able to ...
1 vote
0 answers
370 views
The batch insert is not being applied in PostgreSQL
I want to apply batch insertion using PostgreSQL, but even after searching online, I couldn't easily solve it. Currently, I'm using spring-boot 3.3.0v and PostgreSQL 16. Could you help me figure out ...
0 votes
1 answer
183 views
How to log the complete query statement including insert '?' parameters on mariaDB
I've a mariadb:10.10.6 running under a docker container. I'm running some tests in a java microservice that uses that database and I would like to log the exact query that the java client is sending ...
0 votes
0 answers
45 views
BatchInsert Unable to update object relationships Coredata
I am trying to import high amounts of data and was suggested to use BatchInsert to efficiently import data. With the below code, I was able to import large volumes of data, however, the relationships ...
0 votes
0 answers
274 views
Mybatis - Spring batch operations Not Working
im trying to batch insert a number of records using mybatis. this is in my applicationContext <bean id="refDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-...
0 votes
0 answers
601 views
Core Data Batch insert
Core Data Batch insert Updated:28.11.2022 20:24 (at the end of this post) i have 150 rows from entity #1 now i need to insert for each single row from entity #1 (SingleOnes) 20 rows into entity #2 (...
1 vote
2 answers
1k views
Hibernate batch update is turned on but still executes eache query seperatly
I'm trying to add a batch update to my spring boot project. The batch seems activated, but when I check the hibernate logs, there are still multiple queries. hibernate.jdbc.batch_size=5 hibernate ...
0 votes
0 answers
966 views
Insert batch data in column type "Person" on Sharepoint list with Power Automate
I'm using a batch to insert data on Sharepoint List. The field on Sharepoint is a Person type so when I try insert the email (type string) through Power Automate the follow error is showed: "HTTP/...
-1 votes
1 answer
374 views
zzzprojects/entity framework extension throw System.ArgumentNullException at System.Linq.Expressions.Expression.Call
Here is my bulk insert function. public async Task BulkInsertAsync(IEnumerable<T> entities) { await _context.BulkInsertAsync(entities,option => { option....
1 vote
0 answers
217 views
Hibernate batch bulk insert
I am trying to insert 1000 records using ‘’’Hibernate jdbc batch’’’ and sometime we get unique constraints for one of the records. Is there anyway I can force hibernate to return which row data caused ...
1 vote
1 answer
2k views
jdbc template batch update with snowflake database is very slow
I have a spring boot application that connects to the Snowflake Database and uploads records (approx 50 columns of different data types). I am using JdbcTemplate.batchUpdate(insertSql, values, types) ...