Issue Details (XML | Word | Printable)

Key: JRA-10833
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Dylan Etkin [Atlassian]
Reporter: Anton Mazkovoi [Atlassian]
Votes: 0
Watchers: 0
Operations

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

Ensure the OfBiz Iterator is closed before the transaction is commited (i.e. connection closed)

Created: 11/Aug/06 03:26 AM   Updated: 23/Aug/06 01:56 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.4

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0 minutes
Time Spent - 1 hour
Time Spent: 1 hour
Time Spent - 1 hour

Participants: Anton Mazkovoi [Atlassian] and Dylan Etkin [Atlassian]
Since last comment: 2 years, 8 weeks, 5 days ago
Resolution Date: 14/Aug/06 12:49 AM
Labels:


 Description  « Hide
The iterator holds a reference to a prepared statement and a result set, so the right way is to close the iterator first and then commit the transaction (which will close the connection).

This needs to be done in:

  1. WorkflowMigrationManager
  2. ProWorkflowMigrationManager


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Dylan Etkin [Atlassian] added a comment - 14/Aug/06 12:49 AM
This has been changed. We now close the iterator before we try to either commit or rollback the transaction.