Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
430 views

Inserting large number of rows into database with Spring boot

I need to insert many million rows + many GB of data into a database for a project that uses Spring boot. I recreated a minimal example with a one to many relationship and am trying to find the ...
Pux's user avatar
  • 155
1 vote
1 answer
3k views

Handling multiple optional parameters in Spring

I have an endpoint in my RestAPI which can receive 3 optional parameters and then find information in the database with these parameters, also it is possible to combine the parameters. So, in my ...
Kalich's user avatar
  • 13
2 votes
1 answer
2k views

Inserting 50k rows with Spring Data and JPA [closed]

I am using Spring Data JPA with Spring boot application. My requirement is to insert 50K rows in JPA entity table in one hour or less. I have 3 entities A, B and C. Entity A has a one to many ...
Pankaj's user avatar
  • 21
2 votes
1 answer
130 views

Copying notes takes a very long time

I am working on a Spring-MVC application in which we have note like functionality. Notes can have attachments, history, etc. There is a method to copy notes. When a note has a large number of ...
We are Borg's user avatar
5 votes
2 answers
1k views

Google Maps API with Jackson Parser

I am working on the Google Maps API, doing a reverse geocoding with the following code snippet. What I am using are: Spring Jackson Parser Google Maps API It is working fine but it gives results a ...
Shaun 's user avatar
  • 51
5 votes
1 answer
258 views

Bot-like Spring Java service for checking advertisements

I am in the middle of developing a Spring Boot application, which has a service acting like a bot. advertisementService.update(Advertisement ad) is a method which ...
gadomsky's user avatar
2 votes
2 answers
6k views

Write into the same CSV file multiple times

I implemented an OutputWriterService.class to write content in the same file multiple times. The writeToCsvFile method is ...
Patrick's user avatar
  • 131
3 votes
2 answers
208 views

Performance enhancement for collection manipulation

I have below snippet of code which gets all the available menu items for a zone(top or left)and adds the widgets for which user has access to an ArrayList collection. For now the getWidgetsByZone(zone)...
OTUser's user avatar
  • 747