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

mysql blob类型的字段 select后报Buffer index must be a valid index in buffer错误 #77

Closed
xflag opened this issue Jul 9, 2019 · 2 comments
Labels

Comments

@xflag
Copy link

xflag commented Jul 9, 2019

mysql里blob字段,存''字符串,select到实体报Buffer index must be a valid index in buffer,希望修复一下此问题。

@Ahoo-Wang
Copy link
Member

贴一下复现代码。

@xflag
Copy link
Author

xflag commented Jul 10, 2019

贴一下复现代码。

C#对应字段用byte[]类型,用动态代理仓储模式,GetEntityAsync方法,获取单个对象,报上述错误。
当blob存''时会报错,有数据则不会。
同样的数据,我用dapper获取,也是用byte[]类型接收,则不会报错,正常获取成功。

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

No branches or pull requests

2 participants