diff --git a/src/NHibernate/Dialect/SQLiteDialect.cs b/src/NHibernate/Dialect/SQLiteDialect.cs index 737b8ce31e2..48236f82949 100644 --- a/src/NHibernate/Dialect/SQLiteDialect.cs +++ b/src/NHibernate/Dialect/SQLiteDialect.cs @@ -398,6 +398,17 @@ public override bool SupportsForeignKeyConstraintInAlterTable /// public override bool SupportsConcurrentWritingConnections => false; + /// + /// Does this dialect supports distributed transaction? false. + /// + /// + /// SQLite does not have a two phases commit and as such does not respect distributed transaction semantic. + /// But moreover, it fails handling the threading involved with distributed transactions (see + /// https://system.data.sqlite.org/index.html/tktview/5cee5409f84da5f62172 ). + /// It has moreover some flakyness in tests due to seemingly highly delayed (> 500ms) commits when distributed. + /// + public override bool SupportsDistributedTransactions => false; + // Said to be unlimited. http://sqlite.1065341.n5.nabble.com/Max-limits-on-the-following-td37859.html /// public override int MaxAliasLength => 128;