We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a ENUM type as string, when I tried to insert it int to DB. Pg report an error "ERROR: invalid byte sequence for encoding "UTF8": 0x00"
It seems like oat++'s ENUM::String have an "\0" at the end of String, but PG's encoding doesn't recognized this char.
One noob solution of this problem is replace "\0" to "" at every String, but I am wondering if there is some more proper solution?
The text was updated successfully, but these errors were encountered:
I have the same problem. Has this been fixed?
Sorry, something went wrong.
issue oatpp#24 - insert DTO type ENUM as string
3d4f842
Merge branch 'issue24' into develop
30a195e
issue oatpp#24 - insert DTO type ENUM as string Include test case EnumAsStringTest
Merge pull request #29 from bwengert79/contribute
27031df
Issue #24 - insert DTO type ENUM as string
No branches or pull requests
I have a ENUM type as string, when I tried to insert it int to DB. Pg report an error "ERROR: invalid byte sequence for encoding "UTF8": 0x00"
It seems like oat++'s ENUM::String have an "\0" at the end of String, but PG's encoding doesn't recognized this char.
One noob solution of this problem is replace "\0" to "" at every String, but I am wondering if there is some more proper solution?
The text was updated successfully, but these errors were encountered: