Issue Details (XML | Word | Printable)

Key: DNET-251
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jiri Cincura
Reporter: Jiri Cincura
Votes: 2
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
.NET Data provider
DNET-247

FbConnectionInternal public FbTransaction BeginTransaction methods issue

Created: 04/Jul/09 03:59 PM   Updated: 22/Aug/17 11:19 AM
Component/s: ADO.NET Provider
Affects Version/s: None
Fix Version/s: 5.10.0.0


 Description  « Hide
class FbConnectionInternal
public FbTransaction BeginTransaction methods
as I think, if this.activeTransaction.BeginTransaction() call raises exception then activeTransaction should be disposed and nulled. if not - next time it will cause HasActiveTransaction to return true and InvalidOperationException("A transaction is currently active. Parallel transactions are not supported.") will be thrown. InvalidOperationException is not FbException and complecates exception handling in outer code.


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.