[Mono-dev] Mono.Data.SybaseClient

Daniel Morgan monodanmorg at yahoo.com
Thu Apr 21 08:48:39 EDT 2011

Meant to send this to the mono-devel-list.

--- On Thu, 4/21/11, Daniel Morgan <monodanmorg at yahoo.com> wrote:

From: Daniel Morgan <monodanmorg at yahoo.com>
Subject: Re: [Mono-dev] Mono.Data.SybaseClient
To: "Quandary" <quandary82 at hailmail.net>
Date: Thursday, April 21, 2011, 8:46 AM

Try ODBC.  Mono has support for ODBC via System.Data.Odbc namespace in assembly System.Data.   I'm sure Sybase has an ODBC driver too.  If not, there is always FreeTDS.

Mono.Data.SybaseClient was removed because no one maintained it.Besides, Mono.Data.SybaseClient only worked with ASE, it did not work with ASA.

If you are interested in maintaining this provider, I suggest forking it and creating an account on github to commit your changes and provide a download link for others to get it. 

--- On Thu, 4/21/11, Quandary <quandary82 at hailmail.net> wrote:

From: Quandary <quandary82 at hailmail.net>
Subject: Re: [Mono-dev] Mono.Data.SybaseClient
To: "Troy Hamilton"
 <troy.a.hamilton at gmail.com>
Cc: mono-devel-list at lists.ximian.com
Date: Thursday, April 21, 2011, 3:09 AM




    Probably it was removed because it doesn't work with ASE 15.5, which
    is the current version.

    I tried it, and it just didn't work.


    If you find a driver that works, let me know.

    I wanted to try how compatible Sybase is with MS-SQL, since they
    have a common ancestor.

    Couldn't get Sybase to work with Ubuntu 10 (worked fine on 9), but
    10.10's anyway a desaster.

    Looking forward to v11, coming April 28/29. Else I'm switching back
    to good old Debian.


    My understanding is that Sybase sells their .NET driver, but that
    only together with a support contract (& accompanying download
    login) that you don't really need, and there is no telling whether
    that .NET driver works on Linux.


    All in all pretty bad if you only want to evaluate it, because
    right-now you can't.


    Kind regards






    Am 20.04.2011 16:08, schrieb Troy Hamilton:

      I see that the Mono.Data.SybaseClient driver was removed from
        the Mono source tree on March 2, 2010 with the commit message
        "Moved depreciated library."  Was this driver depreciated in
        favor of another driver for connecting to Sybase or was it
        simply removed due to lack of a maintainer?  

      I ask because I recently began using this driver from 2.6.7,
        and it works great (and it's blazingly fast) except that it does
        not support VARCHARs greater than 255 characters (this was added
        in Sybase 12.5x, I believe).  

      I've changed the request and response capability flags in
        Tds50.Connect() so that they match those found in jtds.  I'm now
        getting the same server response (verified with wireshark) as
        with jtds which includes the entire, non-truncated varchar, but
        for some reason, the driver doesn't process the response packets
        correctly--IDataReader.Read() always returns false even when the
        db returned results.

      I'll keep digging into this, but I would certainly appreciate
        any advice.




Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com



-----Inline Attachment Follows-----

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20110421/9ce24189/attachment-0001.html 

More information about the Mono-devel-list mailing list