DATACMNS-1556 - Deeply inspect query results deeply for the need of query post-processing.

We now inspect returned Collections whether we need to convert these at all. If not, we skip conversion.

Also, allocate GenericConversionService only once for memory-efficiency.
This commit is contained in:
Mark Paluch
2019-07-24 16:47:50 +02:00
committed by Oliver Drotbohm
parent 94c4713e0f
commit b8c0a2fa8f
4 changed files with 139 additions and 17 deletions

View File

@@ -54,7 +54,7 @@ import org.springframework.data.util.Streamable;
*/
public class QueryExecutionResultHandlerUnitTests {
QueryExecutionResultHandler handler = new QueryExecutionResultHandler();
QueryExecutionResultHandler handler = new QueryExecutionResultHandler(RepositoryFactorySupport.CONVERSION_SERVICE);
@Test // DATACMNS-610
public void convertsListsToSet() throws Exception {