Those values were displayed as
In Java, we are used to overflow behavior being represented by a number turning negative because the signed bit is being used to represent data.
Our solution was to add a property to the object that we were returning for marshalling by our Java RESTful services. We updated the service to have an additional property that was a String. Meaning that we would transition to return a String as our record IDs, instead of a long. This was fine, since arithmetic operations shouldn’t be performed on our object IDs anyway.
We also found supporting information at
sheltonn October 4th, 2016