-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error connect database #8
Comments
Prepared Queries are currently a work in-progress, as a result, they are not completely operational. |
So how is one supposed to get around this problem for the moment? The issue is not that we want to use prepared queries but rather that the binary protocol, which is the only one available, does not implement IOrientDatabaseConnection. There seems to be no way to get a version of Core+Protocol+Serializer that can even connect to a database. |
If anyone runs into this problem here is how I managed to at least get Core + Binary Protocol + CSV serializer to work to the point where I can connect to a database. Any input from more knowledgeable people would be greatly appreciated because what I did here doesn't quite feel as if it's by the book. The problem is that BinaryProtocol 0.1.12 (the latest at the moment) does not implement IOrientDatabaseConnection.ExecutePreparedQuery(). If you look at binary protocol it wants Core 0.1.11. But downgrading to that isn't possible because the CSV serializer wants Core >= 0.1.16.
That should be it. I would be glad to help updating the BinaryProtocol project but it's hard to see what the roadmap there is and how one could contribute. |
When create connection to database, program show error
System.TypeLoadException: 'Method 'ExecutePreparedQuery' in type 'OrientDB.Net.ConnectionProtocols.Binary.Core.OrientDBBinaryConnection' from assembly 'OrientDB.Net.ConnectionProtocols.Binary, Version=0.1.12.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'
https://ibb.co/fy9h9a
The text was updated successfully, but these errors were encountered: