使用 JDBC-ODBC 驱动程序建立数据库连接需要哪些软件或驱动程序?
我有 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您唯一需要的是 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.
您需要安装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!
使用 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.