freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: trac phan <tracphan AT yahoo.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: How to handle Java long data type? (BIGINT)
- Date: Thu, 21 Mar 2002 08:17:36 -0800 (PST)
I tried what you suggested and it works most of the
time, but converting from long to double will loose
some of its significant bits therefore the result is
wrong sometimes. Any other ideas?
Thanks
--- Rafel Puchades <RPuchadM AT cfp.upv.es> wrote:
> try to convert the bigint to a double
> and use setDouble from preparedStatement
>
> it will maybe be enough
>
> >How do store a long data type to the database using
> FreeTDS? I defined a
> >column as NUMERIC(19, 0) but I can't insert any
> data into it.
> >Thanks in advanced.
>
>
>
>
>
> ---
> You are currently subscribed to freetds as:
> [tracphan AT yahoo.com]
> To unsubscribe, forward this message to
$subst('Email.Unsub')
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
-
How to handle Java long data type? (BIGINT),
Trac Phan, 03/20/2002
- <Possible follow-up(s)>
- How to handle Java long data type? (BIGINT), Rafel Puchades, 03/21/2002
- Re: How to handle Java long data type? (BIGINT), trac phan, 03/21/2002
Archive powered by MHonArc 2.6.24.