Not enabling auto-enlistment should not disable system transactions.
--------------------------------------------------------------------
Key: DNET-766
URL: http://tracker.firebirdsql.org/browse/DNET-766
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 5.9.1.0
Reporter: Frédéric Delaporte
Assignee: Jiri Cincura
It appears that when auto-enlistment is not enabled, explicit enlistment
(FbConnection.EnlistTransaction) is disabled too.
The connection string parameter Enlist is normally only about enabling
automatic enlistment at connection opening. It is not supposed to disable
explicit enlistment.
Found while trying to get NHibernate transaction scope tests working with
Firebird: rollback test fails even in a dedicated branch where I have added
explicit enlistment. (I was hoping to be able to test that this way, since
auto-enlistment breaks the NHibernate tests due to DNET-764). Firebird .Net
provider is the only provider tested by NHibernate which behaves in such a way.
Checked in the source, it looks like `Enlist` is not only used for
auto-enlistment at connection opening, but also for globally disabling system
transactions.
https://sourceforge.net/p/firebird/NETProvider/ci/master/tree/Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbConnectionInternal.cs#l282
--
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider