简体   繁体   English

连接到不建议使用的Sybase数据库

[英]Connect to Deprecated Sybase Database

I'm trying to connect to a Sybase Adaptive SQL Anywhere database that is running version 9. I'm currently trying to use iAnywhere.Data.AsaClient.dll . 我正在尝试连接到运行版本9的Sybase Adaptive SQL Anywhere数据库。我目前正在尝试使用iAnywhere.Data.AsaClient.dll When I try to create a new connection, 当我尝试创建新连接时,

 AsaConnection myConnection = new AsaConnection();

I get System.IO.FileNotFoundException stating File dbdata9.dll was not found . 我得到System.IO.FileNotFoundException指出File dbdata9.dll was not found

I can't find dbdata9.dll anywhere and it seems as if Sybase has long since deprecated that version. 我在任何地方都找不到dbdata9.dll ,似乎Sybase已弃用该版本已有很长时间了。 Is there anyway to get this file or are there any other tools that I can use to get access to this data programmatically? 无论如何要获取此文件,或者可以使用其他任何工具以编程方式访问此数据吗?

I used Java instead, following this article with a few modifications. 我改用Java,对本文进行了一些修改。 I have access to jconn4.jar so I was able to add that as a reference. 我可以访问jconn4.jar,因此可以将其添加为参考。

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

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