gpt4 book ai didi

jdbc - Jdbc中type 2和type 4驱动的实际区别是什么

转载 作者:行者123 更新时间:2023-12-04 20:54:35 25 4
gpt4 key购买 nike

我听说类型 2 驱动程序需要一些数据库库的 api。我看不懂上面的说法你能解释一下吗?

最佳答案

只是来自 this 的一个段落片段关联。另外,请访问有用的链接:JDBC Driver and Its Types

Type 2: Requires the DB2 Client is also installed on the same server as the JDBC driver because the driver is simply a front-end to the DB2 Client. It points to the alias you configured on the Client for your database, similar to an ODBC driver.

Type 4: Connects to the database on server directly via the hostname/port.

关于jdbc - Jdbc中type 2和type 4驱动的实际区别是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6013371/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com