File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
+ using NHibernate . AdoNet ;
2
3
3
4
namespace NHibernate . Driver
4
5
{
@@ -16,7 +17,7 @@ namespace NHibernate.Driver
16
17
/// for any updates and/or documentation regarding MySQL.
17
18
/// </para>
18
19
/// </remarks>
19
- public class MySqlDataDriver : ReflectionBasedDriver
20
+ public class MySqlDataDriver : ReflectionBasedDriver , IEmbeddedBatcherFactoryProvider
20
21
{
21
22
/// <summary>
22
23
/// Initializes a new instance of the <see cref="MySqlDataDriver"/> class.
@@ -95,5 +96,7 @@ public override bool SupportsMultipleQueries
95
96
// https://dev.mysql.com/doc/refman/5.7/en/datetime.html
96
97
/// <inheritdoc />
97
98
public override DateTime MinDate => new DateTime ( 1000 , 1 , 1 ) ;
99
+
100
+ System . Type IEmbeddedBatcherFactoryProvider . BatcherFactoryClass => typeof ( MySqlClientBatchingBatcherFactory ) ;
98
101
}
99
102
}
You can’t perform that action at this time.
0 commit comments