Weak reference based PersistenceContext for streaming queries

This commit is contained in:
Rob Bygrave committed 2021-10-11 22:48:18 +13:00
1 parent 0273e1c2c8
commit ea3fb833a4
7 files changed
+298 -198

No files matched your search

@@ -64,17 +64,6 @@ public interface PersistenceContext {
*/
PersistenceContext forIterate();
/**
* Return a new Persistence context during iteration of large query result.
*/
PersistenceContext forIterateReset();
/**
* Return true if the persistence context has grown and hit the 'reset limit'
* during large query iteration.
*/
boolean resetLimit();
/**
* Wrapper on a bean to also indicate if a bean has been deleted.
* <p>