Java jconn4.jar 的 Maven 存储库是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26349911/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 02:18:57  来源:igfitidea点击:

What is the maven repository for jconn4.jar?

javamavensybasejconnect

提问by Andrew Sumner

jConn3 is the only one I can find.

jConn3 是我唯一能找到的。

'com.sybase.jdbc3.jdbc:jconn3:6.05'

'com.sybase.jdbc3.jdbc:jconn3:6.05'

采纳答案by Stephen C

My research tells me that jconn3.jar and jconn4.jar are part of Sybase jConnect. In order to download (at least) the latest version of jConnect, you need to "register" an account ... and maybe do other stuff like a click-through license. (I'm not giving them my email address just to find out.)

我的研究告诉我 jconn3.jar 和 jconn4.jar 是 Sybase jConnect 的一部分。为了下载(至少)最新版本的 jConnect,您需要“注册”一个帐户……并且可能执行其他操作,例如点击许可。(我不会给他们我的电子邮件地址只是为了找出答案。)

Based on that, I suspectthat the copy of jconn3.jar you can see in Maven Central is unauthorized, and should not be there.

基于此,我怀疑您在 Maven Central 中看到的 jconn3.jar 副本是未经授权的,不应该在那里。

My advice would be to:

我的建议是:

  1. Register for an account on the Sybase site.
  2. Download the JAR.
  3. Add a copy of the JAR with a minimal POM file to either your local repo, or your private institutional repo.
  4. Don't export it without reading the jConnect license carefully first to check that it is permitted.
  1. 在 Sybase 站点上注册一个帐户。
  2. 下载 JAR。
  3. 将带有最小 POM 文件的 JAR 副本添加到您的本地存储库或您的私人机构存储库。
  4. 在没有仔细阅读 jConnect 许可证以检查它是否被允许之前,不要导出它。

If you are providing your software to 3rd parties, then check what the jConnect license says about this first.

如果您向第 3 方提供您的软件,请先检查 jConnect 许可证对此的说明。

If you intend to make your software available in a public Maven repo, you may need provide instructions on how downstream projects should deal with the jconn.jar problem.

如果您打算在公共 Maven 存储库中提供您的软件,您可能需要提供有关下游项目应如何处理 jconn.jar 问题的说明。



The other approach might be to ask Sybase / SAP for permission to upload the JAR to Maven Central.

另一种方法可能是向 Sybase / SAP 请求将 JAR 上传到 Maven Central 的许可。

(I don't rate your chances though. The fact that they have put the downloads behind a "signup" wall suggests that they want to track who is using jConnect for "business reasons". Convincing them to change their strategy could be difficult.)

(不过,我不评价您的机会。事实上,他们将下载放在“注册”墙后面表明他们想跟踪谁出于“业务原因”使用 jConnect。说服他们改变策略可能很困难。 )



UPDATE- According to @Hlex's 2015 research (see below), the software is available for free from the SAP Store. However, you still need to sign up for an account.

更新- 根据@Hlex 2015 年的研究(见下文),该软件可从 SAP Store 免费获得。但是,您仍然需要注册一个帐户。

回答by Hlex

This page provide how you download jconn4.jar.
http://sqlanywhere-forum.sap.com/questions/23450/jconnect-software-developer-kit-download

此页面提供了如何下载 jconn4.jar。
http://sqlanywhere-forum.sap.com/questions/23450/jconnect-software-developer-kit-download

You need to install to your local repo yourself.

您需要自己安装到本地存储库。

回答by Ramazan Polat

You can use jTDS drivers in central maven repositorywhich is free to use and supports the latest Sybase ASE (16.0 SP4 as of now).

您可以在中央 maven 存储库中使用jTDS 驱动程序,存储库可以免费使用并支持最新的 Sybase ASE(截至目前为 16.0 SP4)。