From: Jiri C. (JIRA) <tr...@fi...> - 2017-11-04 14:55:46
|
[ http://tracker.firebirdsql.org/browse/DNET-251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Cincura reopened DNET-251: ------------------------------- > FbConnectionInternal public FbTransaction BeginTransaction methods issue > -------------------------------------------------------------------------- > > Key: DNET-251 > URL: http://tracker.firebirdsql.org/browse/DNET-251 > Project: .NET Data provider > Issue Type: Sub-task > Components: ADO.NET Provider > Reporter: Jiri Cincura > Assignee: Jiri Cincura > Fix For: 5.10.0.0 > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |