10.15.1.3 版的 org.apache.derby.jdbc.ClientDriver 在哪里? [英] Where is org.apache.derby.jdbc.ClientDriver for version 10.15.1.3?

查看:23
本文介绍了10.15.1.3 版的 org.apache.derby.jdbc.ClientDriver 在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过 Maven Central (org.apache.derby) 下载了驱动程序.

I've downloaded the drivers via Maven Central (org.apache.derby).

  1. derby-10.15.1.3.jar
  2. derbyclient-10.15.1.3.jar
  3. derbynet-10.15.1.3.jar
  4. derbyshared-10.15.1.3.jar

那我错过了什么?这些 JAR 中没有一个包含包org.apache.derby.jdbc",该包过去用于包含 ClientDriver 和 EmbeddedDriver?

So what am I missing ? None of these JARs contains the package "org.apache.derby.jdbc", which used to contain the ClientDriver and EmbeddedDriver in the past?

推荐答案

实际上,要在 Derby 10.15 中使用 Derby 客户端驱动程序,您现在需要所有三个:derbyclient.jarderbyshared.jarderbytools.jar.这是(弱)记录的 此处:

Indeed, to use the Derby client driver with Derby 10.15, you now need all three of: derbyclient.jar, derbyshared.jar, and derbytools.jar. This is (weakly) documented here:

添加了一个新的 jar 文件 (derbyshared.jar).全德比配置需要它.此外,derbytools.jar 库是现在在运行网络服务器和/或使用 Derby 时需要数据源.

A new jar file (derbyshared.jar) has been added. All Derby configurations require it. In addition, the derbytools.jar library is now required when running the network server and/or when using Derby DataSources.

由于您正在运行网络服务器,您现在需要 derbytools.jar(以及运行客户端软件时的新 derbyshared.jar.

Since you are running the network server, you now require derbytools.jar (as well as the new derbyshared.jar when running the client software.

我认为值得向 Derby 社区建议发行说明可以更清楚地突出这一点(例如,您可以向 Derby 项目提交改进请求)

I think it would be worth suggesting to the Derby community that the release note could make this stand out more clearly (you could file an improvement request with the Derby project, e.g.)

这篇关于10.15.1.3 版的 org.apache.derby.jdbc.ClientDriver 在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆