-
Notifications
You must be signed in to change notification settings - Fork 95
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
Control over null values conversion during query execution #389
Comments
👍 val str = db.query("RETURN null", classOf[String]).next()
assert(str == null) // FAILS - actual result is a string "null" That is counter intuitive and took me several hours to find a workaround like this: val str = Option(db.query("RETURN null", classOf[Object]).next()
assert(str == null) // OK - now it returns null as expected, just needs to be casted to String |
Thank you Michele for the quick turnaround! |
Since vertion 7.0.0, keepNull behavior can be specified using Jackson API by:
Furthermore, to read and write raw JSON strings a new wrapper class https://github.com/arangodb/arangodb-java-driver/releases/tag/v7.0.0-RC.4 |
Closing as fixed in version 7.0.0.
Furthermore, to read and write raw JSON strings a new wrapper class |
Hello, can you explain please, why do not we have a control over a null values conversion, when exection queries with java driver?
arangodb-java-driver/src/main/java/com/arangodb/internal/InternalArangoDatabase.java
Line 177 in 67a5409
This is hardcoded behaviour
The text was updated successfully, but these errors were encountered: