Skip to content

Negative int (or long) value deserialized incorrectly #151

Closed
@chrisCesar34

Description

@chrisCesar34

We are using ArangoDB version 3.2.3 and Java Driver version 4.2.4, on Mac OS X 10.12.6

We have java objects with a long (or int) filed. When storing negative values for these fields, if we check the database content with ArangoDB web interface, the collection contains a vertex with the good negative value.

If we test our request for getting our objects thanks to ArangoDB web interface, the resulting JSON structure also contains the good negative value.

But if we use Arango Java Driver, the resulting value is incorrect. For example, when storing -50 as long, the returned value is 206.

Thanks for fixing it ... or helping to understand why it happens.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions