posts - 3,  comments - 2,  trackbacks - 0
              最近老遇到Oracle的兩個驅動選擇,不清楚到底選哪個.. 于是,今天在網上找了一下,在CSDN的論壇中,coolhorse168 在官方網站上找來對這兩驅動的解釋,特地抄過來寫在我的博客里,以備日后查看.

          ojdbc14.jar
              Classes for use with JDK 1.4.  It contains the JDBC driver
              classes, except classes for NLS support in Oracle Object and
              Collection types.

          classes12.jar
              Classes for use with JDK 1.2 and JDK 1.3.  It contains the
              JDBC driver classes, except classes for NLS support in Oracle
              Object and Collection types.

          The Old oracle.jdbc.driver Package Will Go Away Soon !!!
          --------------------------------------------------------

          Beginning in Oracle 9i, Oracle extensions to JDBC are captured in
          the package oracle.jdbc.  This package contains classes and
          interfaces that specify the Oracle extensions in a manner similar
          to the way the classes and interfaces in java.sql specify the
          public JDBC API.

          The use of the package oracle.jdbc.driver has been deprecated
          since the initial version of 9i.  Your code should use the package
          oracle.jdbc instead.  New features since Oracle 9i are incompatible
          with use of the package oracle.jdbc.driver.  Although we continue
          to support the old package oracle.jdbc.driver in this release to
          provide backwards compatibility, the package will definitely be
          removed in the next major release.  If you still have existing
          applications that use the old oracle.jdbc.driver package, now is the
          time to convert your code.

          All that is required to covert your code is to replace
          "oracle.jdbc.driver" with "oracle.jdbc" in the source and recompile.
          This cannot be done piecewise.  You must convert all classes
          and interfaces that are referenced by an application.
          posted on 2008-03-27 17:18 Mr. Michael.Q 閱讀(331) 評論(1)  編輯  收藏 所屬分類: Oracle 技術總結

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 元氏县| 樟树市| 北京市| 嵊泗县| 长顺县| 黑河市| 大竹县| 巴林左旗| 普兰县| 胶南市| 钟祥市| 屏山县| 舟曲县| 申扎县| 鄂伦春自治旗| 陆川县| 新丰县| 广州市| 鹿邑县| 山东省| 旌德县| 辽阳县| 涞水县| 新晃| 蕉岭县| 即墨市| 靖宇县| 浮山县| 庄浪县| 茌平县| 策勒县| 蓝田县| 黄石市| 青海省| 深圳市| 岐山县| 藁城市| 乌兰察布市| 富裕县| 祁阳县| 赤水市|