Oracle8i JDBC Developer's Guide and Reference
Release 8.1.5

A64685-01

Library

Product

Contents

Index

Prev  Chap Top Next

Supported SQL and PL/SQL Datatypes

The tables in this section list SQL and PL/SQL datatypes, and whether the Oracle JDBC drivers and SQLJ support them. Table 8-2 describes Oracle JDBC driver and SQLJ support for SQL datatypes.

Table 8-2 Support for SQL Datatypes
SQL Datatype  Supported by JDBC Drivers?  Supported by SQLJ? 

BFILE  

yes  

yes  

BLOB  

yes  

yes  

CHAR  

yes  

yes  

CLOB  

yes  

yes  

DATE  

yes  

yes  

NCHAR  

no  

no  

NCHAR VARYING  

no  

no  

NUMBER  

yes  

yes  

NVARCHAR2  

no  

no  

RAW  

yes  

yes  

REF  

yes  

yes  

ROWID  

yes  

yes  

UROWID  

no  

no  

VARCHAR2  

yes  

yes  

Table 8-3 describes Oracle JDBC driver and SQLJ support for the ANSI-supported SQL datatypes.

Table 8-3 Support for ANSI-Supported SQL Datatypes
ANSI-Supported SQL Datatypes  Supported by JDBC Drivers?  Supported by SQLJ? 

CHARACTER  

yes  

yes  

DEC  

yes  

yes  

DECIMAL  

yes  

yes  

DOUBLE PRECISION  

yes  

yes  

FLOAT  

yes  

yes  

INT  

yes  

yes  

INTEGER  

yes  

yes  

NATIONAL CHARACTER  

no  

no  

NATIONAL CHARACTER VARYING  

no  

no  

NATIONAL CHAR  

no  

no  

NATIONAL CHAR VARYING  

no  

no  

NCHAR  

no  

no  

NCHAR VARYING  

no  

no  

NUMERIC  

yes  

yes  

REAL  

yes  

yes  

SMALLINT  

yes  

yes  

VARCHAR  

yes  

yes  

Table 8-4 describes Oracle JDBC driver and SQLJ support for PL/SQL datatypes. Note that PL/SQL datatypes include these categories:




Prev

Top

Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index