Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

`Method 'DoExecuteBatch' does not have an implementation. #1

@phucphanJaneto

Description

@phucphanJaneto

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?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions