Issue Details (XML | Word | Printable)

Key: GEOT-1097
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Andrea Aime
Reporter: Andrea Aime
Votes: 0
Watchers: 0
Operations

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

Unclosed transactions should close automatically on finalize and complain loudly

Created: 29/Dec/06 04:00 AM   Updated: 29/Dec/06 09:56 AM
Component/s: data
Affects Version/s: 2.2.2, 2.3.0
Fix Version/s: 2.2.3, 2.3.1, 2.4-M0

Issue Links:
Related
 


 Description  « Hide
DefaultTransaction should check if it's closed on finalize, close itself if not, and complain loudly.
On jdbc datastore an unclosed transaction may leak connections, and on other datastore, other kind of limited resources

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Andrea Aime added a comment - 29/Dec/06 05:27 AM
Fixed on trunk, 2.3.x, 2.2.x

Andrea Aime added a comment - 29/Dec/06 08:58 AM
The same goes for QueryData objects, they can be created with auto commit transactions but keep on holding a connection if not closed

Andrea Aime added a comment - 29/Dec/06 09:56 AM
Added finalizer to QueryData too, on trunk, 2.3.x and 2.2.x