Oracle8i SQLJ Developer's Guide and Reference Release 8.1.5 A64684-01 |
|
This chapter contains detailed JDBC reference information, including the following topics:
Table 3-1 and Table 3-2 in Chapter 3 describe the default mappings between Java classes and SQL datatypes that are supported by the Oracle JDBC drivers. Compare the contents of the Standard JDBC Datatypes, Java Native Datatypes and Oracle SQL Datatypes columns in Table 3-1 and Table 3-2 with the contents of Table 8-1 below.
Table 8-1 lists all of the possible Java classes to which a given SQL datatype can be validly mapped. The Oracle JDBC drivers will support these "non-default" mappings. For example, to materialize SQL CHAR
data as an oracle.sql.CHAR
, use getCHAR()
. To materialize it as a java.math.BigDecimal
, use getBigDecimal()
.
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-3 describes Oracle JDBC driver and SQLJ support for the ANSI-supported SQL datatypes.
Table 8-4 describes Oracle JDBC driver and SQLJ support for PL/SQL datatypes. Note that PL/SQL datatypes include these categories:
Table 8-4 Support for PL/SQL Datatypes
On the client, the Oracle JDBC OCI and Thin drivers support all Oracle NLS character sets. On the server, the Oracle JDBC Server driver supports only two Oracle NLS character sets: US7ASCII
(ASCII 7-bit American) and WE8ISO8859P1
(ISO 8859-1 West European or "ISO-Latin 1").
This section lists web sites that contain useful information for JDBC programmers. Many of the sites are referenced in other sections of this manual. In this list you can find references to the Oracle JDBC drivers and SQLJ, Java technology, the Java Developer's Kit APIs (for versions 1.2 and 2.0), and resources to help you write applets.
Oracle JDBC Driver Home Page (Oracle Corporation)
http://www.oracle.com/st/products/jdbc/
Oracle JDBC Driver Download Page (Oracle Corporation)
http://www.oracle.com/products/free_software/index.html#jdbc8
Oracle SQLJ Home Page (Oracle Corporation)
http://www.oracle.com/st/products/jdbc/sqlj/index.html
Java Technology Home Page (Sun Microsystems, Inc.):
http://www.javasoft.com/
Java Development Kit 1.1 (JDK1.1) (Sun Microsystems, Inc.):
http://java.sun.com/products/jdk/1.1/
Java Platform JDK1.1 Core API Specification (Sun Microsystems, Inc.):
http://www.javasoft.com/products/jdk/1.1/docs/api/packages.html
Java Development Kit 1.2 (JDK1.2) (Sun Microsystems, Inc.):
http://java.sun.com:80/products/jdk/1.2/index.html
Java Platform JDK1.2 Core API Specification (Sun Microsystems, Inc.):
http://www.javasoft.com/products/jdk/1.2/docs/api/index.html
Introduction to Capabilities Classes (Netscape Communications Corp.):
http://developer.netscape.com/docs/manuals/signedobj/capabilities/contents.htm
Object-Signing Resources (Netscape Communications Corp.):
http://developer.netscape.com/software/signedobj/index.html
Signed Applet Example (Sun Microsystems, Inc.):
http://java.sun.com/security/signExample/index.html