Weak reference based PersistenceContext for streaming queries

This commit is contained in:
Rob Bygrave
2021-10-11 22:48:18 +13:00
parent 0273e1c2c8
commit ea3fb833a4
7 changed files with 298 additions and 198 deletions
@@ -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>