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

MySqlDbType.String not respected when assigning an enum to MySqlParameter Value. #459

Closed
Naragato opened this issue Mar 19, 2018 · 1 comment

Comments

@Naragato
Copy link
Contributor

@Naragato Naragato commented Mar 19, 2018

https://github.com/Naragato/OrmLiteMySQLClientTests

Using the official oracle client with and setting a MySQL param as MySqlDbType.String, and using an enum value results in the string value of the enum inserted into the database. However using mysql-net, int is inserted.

@bgrainger
Copy link
Member

@bgrainger bgrainger commented Mar 21, 2018

Fixed in 0.37.1.

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