简体   繁体   English

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

[英]What is the maven repository for jconn4.jar?

jConn3 is the only one I can find. jConn3 是我唯一能找到的。

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

My research tells me that jconn3.jar and jconn4.jar are part of Sybase jConnect. 我的研究告诉我jconn3.jar和jconn4.jar是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. 为了下载(至少)最新版本的jConnect,您需要“注册”一个帐户...并可能做其他事情,例如单击授权。 (I'm not giving them my email address just to find out.) (我不是为了给他们提供我的电子邮件地址而已。)

Based on that, I suspect that 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. 在Sybase站点上注册一个帐户。
  2. Download the JAR. 下载JAR。
  3. Add a copy of the JAR with a minimal POM file to either your local repo, or your private institutional repo. 将具有最小POM文件的JAR副本添加到本地存储库或私有机构存储库中。
  4. Don't export it without reading the jConnect license carefully first to check that it is permitted. 在未仔细阅读jConnect许可证以检查其是否允许之前,请勿导出它。

If you are providing your software to 3rd parties, then check what the jConnect license says about this first. 如果要向第三方提供软件,请首先检查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. 更新 -根据@Hlex 2015年的研究(见下文),该软件可从SAP Store免费获得。 However, you still need to sign up for an account. 但是,您仍然需要注册一个帐户。

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

You need to install to your local repo yourself. 您需要自己安装到本地存储库。

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

我不确定这是否适合您,但我让我的一位网络管理员登录了安装了 Sybase 的服务器,他在 C:\\Program Files\\SQL Anywhere {version_number}\\Java 下查看并找到了 jar 文件.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM