Spring Data REST Batch Insertion
I can POST (insert) one entity at a time. I want to POST collect objects in one api call.
CrudRepository has
<S extends T> Iterable<S> save(Iterable<S> entities);
How do I call the method above from Spring Data REST? Having already tried posting multiple objects as an array, it didn't work.
Does the batch insert function provide a HATEOAS violation priniciple? If not, Spring Data REST provides any default way to do this.
+3
source to share
No one has answered this question yet
See similar questions:
or similar: