⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme_jdbc.txt

📁 Debian中文参考手册,系统介绍了Debian系统
💻 TXT
📖 第 1 页 / 共 2 页
字号:
Oracle JDBC Drivers release 9.2.0 README=============================================What Is New In This Release Since 9.0.2 ?-----------------------------------------New classes file name for JDK 1.4 and beyond    Beginning with this release the classes files for JDK 1.4 and    beyond will be named ojdbc<jdk ver>.jar. So, the classes file for    JDK 1.4 is named ojdbc14.jar.  The names for the JDK 1.1    and 1.2 classes files will not be changed. We will not provide    .zip versions of the classes files beyond JDK 1.2.Direct support for LOBs in the Thin driver.    The Thin driver now provides direct support for BFILEs, BLOBs, and    CLOBs. Prior to this release it supported them via calls to PL/SQL    routines. Statement Caching    The Oracle statement caching API has been changed. There were    substantial problems with the previous API and we were able to    resolve them only by changing the API. The old API is still    supported, but is deprecated. For details on the new API see the    JavaDoc. Certified with RAC    The Oracle JDBC drivers are certified to work correctly in an    Oracle 9i RAC environment.JDBC 3.0 feature support    A few critical JDBC 3.0 features are supported.    JDK 1.4--JDK 1.4 is supported with ojdbc14.jar and    nls_charset12.jar.     Toggling between global and local transactions--When using an XA    connection an application can toggle between global and local    transactions.     Savepoints--Savepoints are supported in ojdbc14.jar. They are also    supported in classes12 and classes11 via Oracle extensions. The    extensions are forward compatible with ojdbc14.jar. See the    JavaDoc for more details.    Reuse of prepared statements--PreparedStatements can be used with    different pooled connections. This is an important performance    improvement for middle tier applications.Connection wrapping    It is now possible to seamlessly wrap an OracleConnection instance    with a user defined class that implements    oracle.jdbc.OracleConnection. Such a wrapper can be used where    ever a Connection argument is needed (except CustomDatum) and will    be returned as the value of getConnection. It is recommended that    users subclass oracle.jdbc.OracleConnectionWrapper if    possible. If not then base your implementation on the source for    OracleConnectionWrapper which can be found in the samples    directory. Deprecate RAW(Object) constructor    The constructor RAW(Object) has been deprecated. It will not be    removed, but its behavior will be changed in the next major    release. At present it has a documented, but anomolous behavior    when passed a String object. It constructs a RAW containing the    byte representation of the String in the platform encoding. All    other transformations between Strings and RAWs assume that the    String is the hex character representation of the bytes in the    RAW. In the next major release this constructor will be changed to    conform to that convention. This will also impact ADTs with RAW    fields constructed from Strings. Two static methods have been    added to RAW. oldRAW(Object) will always have the current platform    encoding behavior. newRAW(Object) will always have the hex    character behavior. See the JavaDoc for more details.DMS metrics    The DMS metrics reported by JDBC when using classes12dms.jar have    been reorganized. Additional metrics on Statements including    execution and fetch time are reported.defineColumnType(int, int) of CHAR or VARCHAR column    Calling defineColumnType as CHAR or VARCHAR and not passing a size    will now raise a SQLWarining. Beginning in the next major release    it will throw a SQLException.OracleLog    Significant increase in the number of methods that include calls    to OracleLog. Also, you can enable OracleLog tracing by setting    system properties. Set oracle.jdbc.Trace to "true" to enable    tracing. Set oracle.jdbc.LogFile to set the name of the trace    output file. If this is not set trace output is sent to    System.out. OracleLog tracing is only available in the debug    classes files, classes111_g.*, classes12_g.*, and ojdbc_g.jar.Support for services in URLs    Oracle is replacing the SID mechanism for identifying databases    with a new services approach. This has been available in the    database since 8.1.7. JDBC now supports services in the connect    URL for the Thin driver. We strongly encourage everyone to    transition from SIDs to services as quickly as possible as SIDs    will be cease to be supported in one of the next few releases of    the database.    The basic format of a service URL is:      jdbc:oracle:thin:[<user>/<password>]@//<host>[:<port>]/<service>    Example:      jdbc:oracle:thin:@//myserver.com/customer_db    For more info see the JDBC User Guide.Major bugs fixed in since 9.0.2:--------------------------------BUG-1324918    The JDBC OCI driver can consume temporary tablespace when it is    used to update a CLOB with PreparedStatement.setCharacterStream()    repeatedly.  In such situation, either the temp tablespace will    continue to grow, or you may get this exception in thread "main":    java.sql.SQLException: ORA-01652: unable to extend segment if    you have a limit on the tablespace size.  The workaround is to     use oracle.sql.CLOB::setCharacterOutputStream() instead.BUG-1591421 (since 9.0.0)    A connection created from the connection cache fails to pass the    default batch value to the statement object.BUG-1630414 (since 9.0.0)    After a type evolution is performed on an existing type, objects    of the evolved type cannot be retrieved via JDBC.BUG-1730903 (since 9.0.0)    setFormOfUse() method must be put before blinding/definding SQL     NCHAR datatypes.  For example, setString() and     registerOutParameter() has to be called after setFormOfUse().    Otherwise, unpredictable results will be received.  This     restriction applies to all JDBC drivers.BUG-1714281 (since 9.0.1)    The maximum number of characters can be inserted into NCHAR     datatypes using setString() is less than the database maximum     size if the database character set is neither US7ASCII nor     WE8ISO8859P1.  This restriction applies to JDBC Thin and Thin     Server-side drivers.  Workaround is to use setCharacterStream().BUG-1720657 ( since 9.0.1)    Java code runing on the server which uses the KPRB driver to execute    multiple create type statements may cause server crashes. Similar    problems exist if a PL/SQL block uses execute immediate to execute    the same statements. The workaround is to use the thin driver or to    perform the needed operations another way.Bug-2100396     transaction isolation level is not reset when using JDBC apiBug-2100385     JDBC cache does not handle inactivity timeout for xaconnectionsBug-2100350    JDBC cache does not work for inactivity timeoutBug-2018316     getConnection should ignore case for user/passwd, setCache should    take stringBug-2013416     JDBC connection cache does not have any timeoutsBUG 1868371 - setCHAR() does not convert from the CHAR object's    charset to the db char set This JDBC limitation since 8.1.6 is    removed in 9iR2. Previously constructing a Oracle.sql.CHAR data    type with the following statement requires to use either UTF8,    US7ASCII or WE8ISO8859P1 in the "char set" part for database SQL    CHAR datatypes (limitation did apply to database object and SQL    NCHAR datatypes) stmt.setCHAR(1, new CHAR(<bytes>, <char set>);BUG 1730903 - data corruption with setFormOfUse() after    registerOutParameter(). This JDBC limitation since 9.0.1 is removed    in 9iR2BUG 1714281 - SQLException with setString() of a long string to    SQL NCHAR datatypes This THIN driver specific limitation since    9.0.1 is removed in 9iR2.  setString() can now blind the same size    of data as in database for SQL NCHAR datatypesBUG 2012717 - AVOID THE RESETTING OF NLS_LANG IN JDBC-OCI DRIVER    Since 7.3.4, JDBC-OCI driver reset NLS_LANG internally to ".UTF8"     when the client character set is neither US7ASCII nor    WE8ISO8859P1.  This means that in a child process fork out from    JDBC-OCI, UTF8 data is returned no matter what the NLS_LANG is set    to. In 9iR2, this limitation is removed.  Data are returned in the    same charset encoding as the client character set.BUG-1018797    Extra characters may be appended to the end of a CLOB value    mistakenly under the following conditions:    - setCharacterStream() is used to insert a CLOB value, and    - The Oracle server uses multi-byte character set.Driver Versions---------------These are the driver versions in the 9.2.0 release:  - JDBC OCI Driver 9.2.0    Client-side JDBC driver for use on a machine where OCI 9.2.0 is    installed.  - JDBC Thin Driver 9.2.0    100% Java client-side JDBC driver for use in Java applets and    applications.  - JDBC Thin Server-side Driver 9.2.0    JDBC driver for use by Java Stored Procedures or by Java CORBA     objects running in Oracle 9.0.1.  This driver is typically used    in a middle tier server.  - JDBC Server-side Internal Driver 9.2.0    Server-side JDBC driver for use by Java Stored procedures. This    This driver used to be called the "JDBC Kprb Driver".For complete documentation, please refer to "JDBC Developer's Guideand Reference".Contents Of This Release------------------------The [ORACLE_HOME]/jdbc/lib directory contains:  - classes111.zip & classes111.jar    Classes for use with JDK 1.1.x.  It contains the JDBC driver    classes except classes necessary for NLS support in Object and    Collection types.  - nls_charset11.zip & nls_charset11.jar    NLS classes for use with JDK 1.1.x.  It contains classes necessary    for NLS support in Object and Collection types.  - classes111_g.zip & classes111_g.jar    Same as classes111.zip, except that classes were compiled with    "javac -g" and contain OracleLog traceing code.  - classes12.zip & classes12.jar    Classes for use with JDK 1.2.x.  It contains the JDBC driver    classes except classes necessary for NLS support in Object and    Collection types.  - nls_charset12.zip & nls_charset12.jar    NLS classes for use with JDK 1.2.x.  It contains classes necessary    for NLS support in Object and Collection types.  - classes12_g.zip & classes12_g.jar    Same as classes12.zip, except that classes were compiled with    "javac -g" and contain OracleLog tracing code.  - classes12dms.jar    Same as classes12.jar except contains additional code to support    Oracle Dynamic Monitoring Service.  - classes12dms_g.jar    Same as classes12dms.jar except that classes were compiled with     "javac -g" and contain OracleLog traceing code.  - ojdbc14.jar    Classes for use with JDK 1.4. It contains the JDBC driver    classes except classes necessary for NLS support in Object and    Collection types. Use nls_charset12.jar if needed.  - ojdbc14_g.jar    Same as ojdbc14.jar except that classes were compiled with    "javac -g" and contain OracleLog tracing code.  In general, <file>.zip and <file>.jar are identical except for the  format of the archive.  Both the .zip and .jar formats are provided  for JDK 1.1 and JDK 1.2. Only .jar files will be provided for JDK  1.4 and beyond. So far, there is no need for JDK 1.3 classes files;  use classes12.jar with JDK 1.3.  Note that most of the classes pertaining to specific character sets  support in Oracle Object and Collection types are separated from the  basic zip/jar files.  These NLS classes are packaged into the  extension zip/jar files.  This allows the user to include the NLS  classes only if necessary.  Please refer to the "NLS Extension Zip  Files (for client-side only)" section for further details. Also  note that the nls_charset files are much smaller than in prior  releases. These .zip/.jar files now contain a more compact  representation of the conversion information rather than actual  .class files.[ORACLE_HOME]/lib directory contains libocijdbc9.so, libocijdbc9_g.solibheteroxa9.so and libheteroxa9_g.so (on Solaris), which are theshared libraries used by the JDBC OCI driver. [ORACLE_HOME]/jdbc/doc/javadoc.tar contains the JDBC Javadoc.  Thisrelease contains a beta release of the Javadoc files for the publicAPI of the public classes of Oracle JDBC.[ORACLE_HOME]/jdbc/demo/demo.tar contains sample JDBC programs.All of the sample programs have been rewritten to use JDK 1.2 and thenew Oracle standard sample schemas. They no longer use the old standbyscott/tiger schema. These new sample schemas are much more featurerich and so make it easier to demonstrate Oracle features. All Oraclesample code and training will be using these new schemas verysoon. Most already does.NLS and NLS Extension Zip/Jar Files (for client-side only)----------------------------------------------------------The JDBC Server-side Internal Driver provides complete NLS support.It does not require any NLS extension zip/jar files, nls_charset*.*.Discussions in this section do not apply to the JDBC Server-sideInternal Driver.  You can skip this section if you only use theServer-side Internal Driver.The basic zip/jar files (classes111.zip, classes111.jar,classes12.zip and classes12.jar, ojdbc14.jar) contain all thenecessary classes to provide complete NLS support for:  - Oracle Character sets for CHAR/VARCHAR/LONGVARCHAR/CLOB type data    that is not retrieved or inserted as a data member of an Oracle 8    Object or Collection type.  - NLS support for CHAR/VARCHAR data members of Objects and    Collections for a few commonly used character sets.  These    character sets are:  US7ASCII, WE8DEC, WE8ISO8859P1 and UTF8.Users must include the appropriate extension zip in their CLASSPATHif utilization of other character sets in CHAR/VARCHAR data membersof Objects/Collections is desired.  It is important to note thatextension zip files are large in size due to the requirement ofsupporting a large number of character sets.  Users may choose toinclude only the necessary classes from the extension zip/jar file.To do so, users can first un-pack the extension zip/jar file, andthen put only the necessary files in the CLASSPATH.  The characterset extension files are named in the following format:  CharacterConverter<OracleCharacterSetId>.glbwhere <OracleCharacterSetId> is the hexadecimal representation of theOracle character set id of the corresponding character set.In addition, users can also include internationalized Jdbc errormessage files selectively.  The message files are included inclasses*.* with the name oracle/jdbc/dbaccess/Messages_*.properties.-----------------------------------------------------------------------Installation------------Please do not try to put multiple versions of the Oracle JDBC driversin your CLASSPATH.  The Oracle installer installs the JDBC Drivers inthe [ORACLE_HOME]/jdbc directory.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -