'Spring java API extremely slow using JPA to save a json object
I'm having trouble using jpa to save an object, heres and example of how its saved:
public void saveMyCatalog(TheEntity entity) {
storeCatalogRegistrationRepository.save(entity);
}
Googling it I found that the method saveAll() could be faster, but in my case my request is not a list of objects, but instead, is a object inside other, with a lot of lists. I cant really share the objects because of compliance reasons, so I hope you guys can help me with this much of information.
My question is, how can I save a object with a lot of nested lists faster using jpa?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
