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

Home -> Community -> Usenet -> c.d.o.misc -> Float type returns as Types.OTHER

Float type returns as Types.OTHER

From: David <dzonsheine_at_mercadosw.com>
Date: 18 Mar 2003 04:42:07 -0800
Message-ID: <79807c5f.0303180442.d286623@posting.google.com>


I am working with jdbc driver 8.1.7 with 8.1.7 database. For a column that it's data type is Float I get from:

ResultSet rs = DriverManager.getConnection("jdbc:oracle:thin:@dbserver4:1521:ora817",
"NWIND_INT", "nwind_int").getMetaData().getColumns(null, "NWIND_INT",
"ORDER_DETAILS", null);

re.next();
System.out.println("The type is: " + rs.getShort(5));

Data type - java.sql.Types.OTHER (1111).

What am I doing wrong?

I tried later drivers version. It did not solve the problems.

Thanks,

David Received on Tue Mar 18 2003 - 06:42:07 CST

Original text of this message

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