G
G
groundsfar2016-12-05 15:51:45
Java
groundsfar, 2016-12-05 15:51:45

How to add the received object to the collection using the CRUD interface?

When calling a method from the CRUD interface, we get an object and everything that goes into it (well, it’s clear that the chain can be large). The problem is how to save the object?

Test dataTest = TestRepository.findByStatus(StatusTest.DELETED).get(0);

When
String info = dataTest.getInfo;
the whole chain is called again, and not a call from dataTest.
Is it possible to add to the collection, and not call the crud interface 100 times.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question