Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> JDBC data type support.

JDBC data type support.

From: F VDA <Filip.Vandamme_at_barco.com>
Date: 2000/06/26
Message-ID: <395786CA.4BF7168B@barco.com>#1/1

Hello everybody,

After creating a table in which column i is specified as being a SMALLINT the
methods

ResultSetMetaData metaData = resultSet.getMetaData(); metaData.getColumnType(i);

didn't return the java.sql.Types.SMALLINT type. Apparently all kind of integers
are mapped to NUMBERs. Is this a bug or a feature, and is there any workaround
for this loss of typing information?

Many thanks in advance

Filip Received on Mon Jun 26 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US