on 2012 May 11 4:35 PM
Hi,
I've been using UltraliteJ for Android and trying to get and set a unsigned long value to my table from java, through the method set(int, DecimalNumber)
, but I don't know how can I use this interface to do it. There are some methods to implement, but how can I do it? Could anyone help me?
I would use Connection.createDecimalNumber(20, 0, "18446744073709551615") to create a DecimalNumber object for the maximum unsigned bigint value. By retrieving unsigned bigint's as DecimalNumber's you can perform arithmetic operations with them. If you are simply setting and getting unsigned bigint values, without needing to do arithmetic operations, you could just set and retrieve them as String's.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.