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

Guid key type and Oracle #206

Open
unipeg opened this issue Nov 10, 2018 · 1 comment
Open

Guid key type and Oracle #206

unipeg opened this issue Nov 10, 2018 · 1 comment
Assignees

Comments

@unipeg
Copy link

unipeg commented Nov 10, 2018

I use POCOs with Guid as keys. This works fine with DapperExtensions under SqlServer.
I want this to work for Oracle also, which have no Guid datatype, so I use RAW(16) in my oracle table.
When I insert a row I get an [https://github.com/DapperLib/Dapper/issues/633](value does not fall within the expected range) exception.

@valfrid-ly
Copy link
Collaborator

I would suggest you to use string instead of raw(16). Tell me if it works. Next version has lots of improvements.

@valfrid-ly valfrid-ly self-assigned this Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants