使用 JDBC-ODBC 驱动程序建立数据库连接需要哪些软件或驱动程序?

发布于 2024-11-28 19:45:09 字数 94 浏览 6 评论 0原文

我有 Oracle 10g、NetBeans 6v 和 Apache Tomcat 服务器足以连接到数据库吗?是否需要强制安装MS SQL Server? 请给我一些建议..

I have Oracle 10g and NetBeans 6v and Apache Tomcat server is that enough to connect to database? Is there any need to have MS SQL server compulserely?
Please give me some suggestions..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

听你说爱我 2024-12-05 19:45:09

您唯一需要的是 Oracle JDBC 驱动程序。它可以从 Oracle.com 下载。

Oracle JDBC 驱动程序。
说实话,您只需要 Java、Oracle JDBC 驱动程序和 Oracle DB 本身。仅当您希望创建 Web 应用程序时才需要 Tomcat。

The only thing you need is Oracle JDBC driver. It is downloadable from Oracle.com.

Oracle JDBC driver.
To tell the truth you only need Java, Oracle JDBC driver and Oracle DB itself. You need Tomcat only if you wish to create web application.

友欢 2024-12-05 19:45:09

您需要安装Oracle ODBC 驱动程序。它通常可以在 Oracle 数据访问组件中找到。

请注意,JDBC-ODBC 桥仅适用于 测试!另请参阅这篇维基百科文章

You need to have the Oracle ODBC Driver installed. It's generally found in the Oracle Data Access Components.

Do note that the JDBC-ODBC bridge is only intended for testing! See this wikipedia article also!

自在安然 2024-12-05 19:45:09

使用 JDBC-ODBC 驱动程序,您需要将 ODBC 设置为您要使用的数据库。对于 Oracle,您将需要主机的 Oracle ODBC 驱动程序(不是 java 版本)。

通常,直接从 java 程序/框架使用数据库的 Java 驱动程序(如果可用)(从未放置过链接)会更简单。

With the JDBC-ODBC driver you need to setup the ODBC to the database you want to use. For Oracle, you will need the Oracle ODBC Driver for the host (not the java version).

Usually it is simpler to just use the Java Driver for the database, if available (never has put a link to it), directly from the java program/framework.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文