Issue Details (XML | Word | Printable)

Key: NUCCORE-1216
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Core

Allow option of Query results being closed when ExecutionContext is closed

Created: 25/May/14 07:33 PM   Updated: 27/May/14 08:18 PM   Resolved: 25/May/14 07:49 PM
Component/s: Code Structure, Queries
Affects Version/s: None
Fix Version/s: 4.0.0.m4


 Description  « Hide
When an ExecutionContext is closed we need to allow the option to release (close) all query results. The default can be to not release results, so they are usable afterwards (although closed).

Enable it via a query extension
datanucleus.query.closeResultsAtManagerClose

Andy Jefferson made changes - 25/May/14 07:48 PM
Field Original Value New Value
Summary ExecutionContext has code to handle informing listeners of closure but not utilised Allow option of Query results being closed when ExecutionContext is closed
Issue Type Bug [ 1 ] New Feature [ 2 ]
Affects Version/s 3.0.11 [ 11534 ]
Affects Version/s 3.1.5 [ 11870 ]
Affects Version/s 3.2.14 [ 12133 ]
Affects Version/s 4.0.0.m3 [ 12152 ]
Description When an ExecutionContext is closed we need to release all query results When an ExecutionContext is closed we need to allow the option to release (close) all query results. The default can be to not release results, so they are usable afterwards (although closed).

Enable it via a query extension
datanucleus.query.closeResultsAtManagerClose
Andy Jefferson added a comment - 25/May/14 07:49 PM
GitHub allows this now

Andy Jefferson made changes - 25/May/14 07:49 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 27/May/14 08:18 PM
Status Resolved [ 5 ] Closed [ 6 ]