You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
After I upgrade Nhibernate to version 5.0.0 and NHibernate.Caches.SysCache2, I get the error message
Method 'DoExecuteBatch' in type 'NHibernate.MySQLBatcher.MySqlClientBatchingBatcher' from assembly 'NHibernate.MySQLBatcher, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
This is my code for this: var configure = new Configuration().Configure(); configure.DataBaseIntegration(x => { x.Dialect<MySQL5Dialect>(); x.ConnectionStringName = "db"; x.BatchSize = 20; x.Batcher<MySqlClientBatchingBatcherFactory>(); }) .Cache(x => x.UseQueryCache = true) .CurrentSessionContext<WebSessionContext>();
How can I fix this?
The text was updated successfully, but these errors were encountered:
It looks like the signature of the DoExecuteBatch method has changed between NHibernate 3.x (which this library targets) and NHibernate 5. The existing method takes an IDbCommand while the new method takes DbCommand. You may be able to change the signature and recompile, but I'm not sure if that will work or not.
Unfortunately, I haven't touched NHibernate or this library in over five years!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After I upgrade Nhibernate to version 5.0.0 and NHibernate.Caches.SysCache2, I get the error message
Method 'DoExecuteBatch' in type 'NHibernate.MySQLBatcher.MySqlClientBatchingBatcher' from assembly 'NHibernate.MySQLBatcher, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.
This is my code for this:
var configure = new Configuration().Configure(); configure.DataBaseIntegration(x => { x.Dialect<MySQL5Dialect>(); x.ConnectionStringName = "db"; x.BatchSize = 20; x.Batcher<MySqlClientBatchingBatcherFactory>(); }) .Cache(x => x.UseQueryCache = true) .CurrentSessionContext<WebSessionContext>();
How can I fix this?
The text was updated successfully, but these errors were encountered: