【发布时间】:2023-03-19 07:45:01
【问题描述】:
我想使用 Oracle 11g 作为我的 java 代码数据库。我试图从 oracle 网站获取驱动程序。 我看到了很多文件,里面到处都是一些行话。我需要知道这些词的含义以及它们如何影响我作为用户。我如何决定使用哪一个?我选择 ojdbc6.jar 因为我使用的是 jdk 6。请帮助我理解文件的描述是什么意思,谁应该关注它们,为什么?
ojdbc6.jar - Classes for use with JDK 1.6. It contains
the JDBC driver classes except classes for NLS support in
Oracle Object and Collection types.
ojdbc6_g.jar - Same as ojdbc6.jar except compiled
with "javac -g" and contains tracing code.
ojdbc6dms.jar - Same as ojdbc6.jar, except
that it contains instrumentation to support DMS
and limited java.util.logging calls.
orai18n.jar - NLS classes for use with JDK 1.5, and
1.6. It contains classes for NLS support in Oracle
Object and Collection types. This jar file replaces
the old nls_charset jar/zip files.
xdb6.jar - To use the standard JDBC4.0 java.sql.SQLXML
interface with JDBC 11.2.0.3, you need to use xdb6.jar
(instead of xdb.jar) from the 11.2.0.3 distribution.
编辑 -
顺便说一句,SimpleFan.jar 是做什么用的?我也看到了。
谢谢。
【问题讨论】:
-
SimpleFan 是用于通知的 Oracle 产品/功能。 jar 有它的客户端库。
-
@Thilo- 为什么有人要使用 SimpleFan jar?
-
如果您在 Java 应用程序中使用 SimpleFan 产品,则需要 SimpleFan jar。
-
只是想知道 SimpleFan 是做什么的?
-
“FAN 事件由 Oracle Real Application Cluster (RAC) 集群生成,用于传达集群状态的重大变化。” docs.oracle.com/cd/E11882_01/appdev.112/e13993/oracle/simplefan/…