-
Notifications
You must be signed in to change notification settings - Fork 872
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
Selecting vertex by id using prepared query. #4960
Comments
hi @arditymeri which version are you using? |
I'm using version 2.0.15 |
In 2.0.x prepared query does not work with parameter in from. |
Hi @maggiolo00 , thanks for your info. I can see it is working in version 2.1. |
Perfect, thanks. |
I have to report the same problem here using orientDB v2.1.5 getting pretty same exception so that following command:
results in an exception and the cause of that exception says:
|
Hi @mohamnag ! We had similar issues with a database using OrientDB v2.1.11. We could resolve the problem by a database export and reimport. |
Hi guys, two points here:
Thanks Luigi |
Another little detail: there is no need to export/import the database, you can just set http://orientdb.com/docs/last/Release-2.1.0.html#strict-sql-parser Thanks Luigi |
I'm trying to use prepared queries for selecting a vertex by id, like:
I also noticed that this problem is happening whenever the id needs to occur in the query without surrounding quotes. Am I missing something on the syntax? Or is this a bug?
Here is the stacktrace:
The text was updated successfully, but these errors were encountered: