Remove deprecated findLargeStream(), migrate to findStream()

findLargeStream() became no longer become needed due to improvements in the persistence context. Migrate to just use findStream() instead.
This commit is contained in:
Rob Bygrave
2022-04-06 18:17:25 +12:00
parent a87897dd46
commit 48d7e79b16
9 changed files with 0 additions and 103 deletions
@@ -387,24 +387,6 @@ public class QCustomerTest {
assertThat(sb.toString()).isEqualTo("stream1|stream2");
}
@Test
public void testFindLargeStream() {
insertCustomer("largeStream1");
insertCustomer("largeStream2");
insertCustomer("largeStream3");
StringJoiner sb = new StringJoiner("|");
try (Stream<Customer> stream = new QCustomer()
.name.startsWith("largeStream")
.id.asc()
.findLargeStream()) {
stream.forEach(it -> sb.add(it.getName()));
}
assertThat(sb.toString()).isEqualTo("largeStream1|largeStream2|largeStream3");
}
@Test
public void testFilterMany() {