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
NoSqlManyToOne relation to entity with UUID as ID fails #67
Comments
I hope you are saying something like below:
Then in another entity have the above one as ManyToOne
I tried to persist that and was able to successfully save. However, was getting NPE while making the build which I fixed now. So I could not reproduce the exact error but have done something. Can you try again? If you still get the error please tell us the structure of your entities and we will do the needful. Thanks, |
I still get the exception, if EntityWithUUID.id is of type com.eaio.uuid.UUID. @NoSqlEntity
} @NoSqlEntity
}
java.lang.RuntimeException: com.netflix.astyanax.connectionpool.exceptions.BadRequestException: BadRequestException: [host=localhost(127.0.0.1):9160, latency=1(1), attempts=1]InvalidRequestException(why:String didn't validate.) |
Might it be a problem, if my test cassandra installation is just a "single node cluster" ?? |
Ah..I was tested it in in-memory database and there it was working fine. It is indeed a problem in Cassandra. Will look into it. Re-opening this. |
single node cluster should be fine. I know we worked a ticket for another customer where we detected if localhost was the server and automatically moved to CL=ONE |
persisting an object that has a NoSqlManyToOne relation to another entity with UUID as ID type fails with "InvalidRequestException(why:String didn't validate.)"
The text was updated successfully, but these errors were encountered: