List:MySQL and Java« Previous MessageNext Message »
From:Mark Matthews Date:May 30 2003 9:24pm
Subject:Re: Data type for int
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Twibell, Cory L wrote:

> Hello all,
>
> My question is this. I have a column defined as int in MySQL 4.1-alpha, in
> my result set, the Class is defined as Long.
> At what point does the JDBC drive 3.1.0-alpha make it a Long? I would have
> thought it would be an Integer and only BIGINT would be defined as a LONG.
>
> Thanks.

What do you mean by in your result set the Class is defined as a Long?
Is this when you call ResultSet.getObject(), or is this another issue
related with ResultSetMetaData?

	-Mark
- --
For technical support contracts, visit https://order.mysql.com/?ref=mmma

    __  ___     ___ ____  __
   /  |/  /_ __/ __/ __ \/ /  Mark Matthews <mark@stripped>
  / /|_/ / // /\ \/ /_/ / /__ MySQL AB, SW Dev. Manager - J2EE/Windows
 /_/  /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA
        <___/ www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+18wOtvXNTca6JD8RApUiAJ9BosAJsdNRl4FbyaMo6etla3V9hwCfXjsj
O+tuA/NqjHQdjAGvoE48AKk=
=OnjO
-----END PGP SIGNATURE-----

Thread
Data type for intCory L Twibell30 May
  • Re: Data type for intMark Matthews30 May
Re: Data type for intMark Matthews30 May
Re: Data type for intMark Matthews31 May