Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Float type returns as Types.OTHER
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
![]() |
![]() |