Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dapper Plus can't map Id when use galera cluster #138

Open
nguyendanvn12 opened this issue Dec 22, 2023 · 3 comments
Open

Dapper Plus can't map Id when use galera cluster #138

nguyendanvn12 opened this issue Dec 22, 2023 · 3 comments
Assignees

Comments

@nguyendanvn12
Copy link

nguyendanvn12 commented Dec 22, 2023

Description

Setup Dapper Plus:

     DapperPlusManager
.Entity<WorkShiftEntity>()
.Table("WorkShifts")
.Identity(x => x.Id, true);
await tran.BulkActionAsync(x => x.BulkInsert(list));

then insert:

Exception

Dapper only map 1/3 number id of list

Further technical details

  • Dapper version: [Dapper v2.1.15]
  • Dapper Plus version: [Dapper Plus v7.2.1]
  • Database Server version: [galera cluster with mariadb 10.5]
  • Database Provider version (NuGet): [MysqlConnector 2.2.5]
@JonathanMagnan JonathanMagnan self-assigned this Dec 27, 2023
@JonathanMagnan
Copy link
Member

Hello @nguyendanvn12 ,

Do you think you could create a runnable project with the issue? It doesn’t need to be your project, just a new solution with the minimum code to reproduce the issue. You can send it in private here: info@zzzprojects.com

We currently don't have enough information to reproduce it. On our side, everything is inserted as expected.

Best Regards,

Jon

@JonathanMagnan
Copy link
Member

Hello @nguyendanvn12,

Since our last conversation, we haven't heard from you.

As previously mentioned we would need a runnable project to be able to assist you.

Let me know if you have any questions.

Best regards,
Jon

@JonathanMagnan
Copy link
Member

JonathanMagnan commented Jan 9, 2024

Hello @nguyendanvn12,

A simple reminder that we are here to assist you.

As previously mentioned we would need a runnable project.

Don't hesitate to contact us if you still need help.

Best regards,
Jon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants