[ADBA] Supporting BigInteger

Douglas Surber douglas.surber at oracle.com
Mon Dec 4 16:24:36 UTC 2017


+1

Douglas

> On Dec 4, 2017, at 4:53 AM, Lukas Eder <lukas.eder at gmail.com> wrote:
> 
> I definitely see the use-case as well and have missed this functionality
> from JDBC in various jobs in the past.
> 
> Thanks,
> Lukas
> 
> 2017-12-04 13:35 GMT+01:00 Lance Andersen <lance.andersen at oracle.com>:
> 
>> Hi Philippe,
>> 
>> We have never had a request for BigInteger support,  We can consider this
>> for a future release if others also see a common use case.
>> 
>>> On Dec 4, 2017, at 5:14 AM, Philippe Marschall <pm at netcetera.ch> wrote:
>>> 
>>> Hello
>>> 
>>> One of the things that bothers me in JDBC is that there is no support
>> for BigInteger. All arbitrary precision numbers, even if they have no
>> decimal places, have to be expressed as BigDecimal. This is annoying
>> because there is no way to communicate with the type that no decimal places
>> are allowed or present.
>>> 
>>> Currently ResultMap#get doesn't specify exactly which types have to be
>> supported so I assume it's the same as with ResulSet#getObject.
>> Yes that is correct.  Keep in mind the javadocs are still a work in process
>> 
>> Best
>> Lance
>>> 
>>> Cheers
>>> Philippe
>> 
>> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
>> <http://oracle.com/us/design/oracle-email-sig-198324.gif> <
>> http://oracle.com/us/design/oracle-email-sig-198324.gif>
>> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen|
>> Principal Member of Technical Staff | +1.781.442.2037
>> Oracle Java Engineering
>> 1 Network Drive
>> Burlington, MA 01803
>> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
>> 
>> 
>> 
>> 



More information about the jdbc-spec-discuss mailing list