-
Notifications
You must be signed in to change notification settings - Fork 73
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
UUID failed with postgresql #301
Comments
When you choose |
@seratch I've tried to pass manually but still the same error
|
According to the stackoverflow Q&A, just sending String value won't work for you. |
@seratch Thanks for prompt reply. I'm not sure if you mean passing the UUID object instead of turning it into String?
|
Sorry, I've forgetten to paste the stackoverflow link. I understand passing UUID asis doesn't work. Can this topic help you? http://stackoverflow.com/questions/30985604/how-to-insert-value-of-uuid |
Thanks, but no luck! I've tried different method but I'm not sure if anything related to failed:
success:
And I've tried with Is there any hint I can use skinnyORM's One interesting thing is: when I try query existing record using findAll, it's able to get those record's UUID, while calling
|
I'm now trying to write a simple integration test: insert a Member with name and UUID as primary key.
It works perfectly in h2 memory database, but not working for Postgresql, which having the following error:
I've created a repo to demonstrate the issue:
https://github.com/chakming/skinny-orm-postgresql-UUID
Any clue?
The text was updated successfully, but these errors were encountered: