ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

[SQLConnector] Unable to handle unsigned big int data #110

Open anupama-pathirage opened 7 years ago

anupama-pathirage commented 7 years ago

BIGINT type is a 64-bit signed integer value between -9223372036854775808 and 9223372036854775807 when signed or 0 to 18446744073709551615 when unsigned.

Currently BIGINT types are mapped into ballerina int type. Ballerina int is equivalant to java long which has max value of 9223372036854775807. So when sql unsigned bigint are used, values beyond this max value cannot be handle

daneshk commented 3 years ago

check whether we can use decimal instead of int in ballerina