The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.


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?

asked 11 May '12, 15:35

marcelopaparelli's gravatar image

accept rate: 0%

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.

permanent link

answered 11 May '12, 16:23

Andy%20Quick's gravatar image

Andy Quick
accept rate: 43%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 May '12, 15:35

question was seen: 788 times

last updated: 11 May '12, 16:23