导读:
这两天在自己用oracle10g,发现JDBC目录下的驱动包又有所变化。看了一下oracle的文档说明,了解了一下它们的用途,相信大家有时候也很迷惑,写出来共享一下。
这些是oracle10g下的驱动包的名称和它们的作用,其他版本的oracle基本类似。
支持所有平台的JDBC Thin驱动
classes12.jar (1,417,089 bytes) - JDK 1.2 和 JDK 1.3下使用
classes12_g.jar (1,794,418 bytes) - 和classes12.jar相同, 但是包中的类使用"javac -g"命令编译,包含调试信息.
classes12dms.jar (1,424,743 bytes) - 和classes12.jar相同, 但是包含一些附加的代码支持Oracle Dynamic Monitoring Service.
classes12dms_g.jar (1,802,368 bytes) - 和 classes12dms.jar相同,但是包中的类使用"javac -g"编译,包含调试信息.
ojdbc14.jar (1,352,918 bytes) - JDK 1.4下使用
ojdbc14_g.jar (1,691,855 bytes) - 和ojdbc14.jar相同,但是包中的类使用"javac -g"编译,包含调试信息.
ocrs12.jar (54,030 bytes) - 引入了javax.sql.rowset接口, 如CachedRowSet 和 WebRowSet. 可以在 JDK 1.2, 1.3, 和 1.4下使用.
orai18n.jar (5,018,093 bytes) - 使用在JDK 1.2, 1.3 和 1.4下的NLS(National Language Support,国家语言支持)类.这个jar包替换了老的nls_charset jar/zip 文件.
demo.tar (532,480 bytes) - 包含一些JDBC例程.
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=721490
本文转自
http://blog.csdn.net/junnef/archive/2006/05/10/721490.aspx
补充:
JDBC Thin for All Platforms
classes12.jar (1,594,191 bytes) - for use with JDK 1.2 and JDK 1.3
classes12_g.jar (2,038,127 bytes) - same as classes12.jar, except that classes were compiled with “javac -g” and contain some tracing information.
classes12dms.jar (1,601,843 bytes) - same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
classes12dms_g.jar (2,046,467 bytes) - same as classes12dms.jar except that classes were compiled with “javac -g” and contain some tracing information.
ojdbc14.jar (1,540,457 bytes) - classes for use with JDK 1.4 and 1.5
ojdbc14_g.jar (1,932,834 bytes) - same as ojdbc14.jar, except that classes were compiled with “javac -g” and contain some tracing information.
ojdbc14dms.jar (1,548,006 bytes) - same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
ojdbc14dms_g.jar (1,940,478 bytes) - same as ojdbc14dms.jar, except that classes were compiled with “javac -g” and contain some tracing information.
orai18n.jar (1,645,109 bytes) - NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5. This jar file replaces the old nls_charset jar/zip files.
ons.jar (48,492 bytes) - for use by the pure Java client-side Oracle Notification Services (ONS) deamon.
demo.tar (604,160 bytes) or demo.zip (529,267 bytes) - contains sample JDBC programs.