Skip to content

Commit

Permalink
Generate async files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 22, 2023
1 parent fa330b2 commit 64d6069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NHibernate.Test/Async/Ado/BatcherFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected override bool AppliesTo(Engine.ISessionFactoryImplementor factory)
#if NET6_0_OR_GREATER
if (_useDbBatch)
{
return factory.Settings.BatcherFactory is DbBatchBatcherFactory;
return factory.Settings.BatcherFactory is DbBatchBatcherFactory && factory.Settings.ConnectionProvider.Driver is Driver.DriverBase driverBase && driverBase.CanCreateBatch;
}
#endif
return !(factory.Settings.BatcherFactory is NonBatchingBatcherFactory);
Expand Down

0 comments on commit 64d6069

Please sign in to comment.