[Mono-list] Re: [Mono-hackers-list] Re: jTDS

Tim Coleman tim@timcoleman.com
Wed, 23 Oct 2002 00:24:16 -0400


On 21 Oct 2002 17:44:28 +0200
Rodrigo Moya <rodrigo@ximian.com> wrote:

> On Mon, 2002-10-21 at 17:43, Rodrigo Moya wrote:
> > On Mon, 2002-10-21 at 17:12, Alin Sinpalean wrote:
> > > Hi Rodrigo,
> > >  
> > Hi
> > 
> > [Adding mono-hackers to CC]
> > 
> > 
> > > I am the only active developer behind jTDS for the last 4-5 months or
> > > so. I just saw the go-mono.com webpage and was surprised to find out
> > > you are interested in jTDS as a basis for your SQL Server client
> > > implementation. I have some experience with Windows programming and
> > > Visual C++, but for more than 2 years now I've been working only in
> > > Java, so I guess I wouldn't be of too much help for you as a
> > > programmer (not to mention the fact that I have very little time to
> > > actually help you in this way).
> > >  
> > well, if you know Java, C# should be really easy to learn, as this is
> > the language we use for our implementation. About the little time you've
> > got, alas, we can't do anything :-)
> > 
> > > However, I'm ready to provide you with any support I can offer
> > > (questions regarding TDS, information on jTDS). I also have some more
> > > documentation on TDS. So, if you have any such problems, you or anyone
> > > from your team, I'm here. :o)
> > >  
> > I'm sure Tim, the guy who is working on our TDS implementation will like
> > your offer.
> > 
> > cheers

Hi Alin

Basically, the implementation course I am following is to examine the jTDS code, and port it into C#.  In some cases, there is a direct translation, or even no translation required.  In some other cases, I have changed the code quite a bit.

I'm also referring to the FreeTDS code and documentation in the process,
as a sort of double check.  Since FreeTDS seems to be more active, there is newer information there, so it is more complete; jTDS has the advantage of being in Java, which is much closer to C#, and thus easier to port.

At this point, I'm able to login to MS SQL Server 7.0 and 2000, and run a few queries, etc.

If you are interested in Mono and the TDS client implementation, please feel free to take a look at some of the source code, or give it a try
for yourself.  Any tips that you can offer will be greatly appreciated.
The protocol seems pretty well documented on the FreeTDS site.

I may call upon you if I run into any significant roadblocks.  At this point, I'm pretty happy with the progression, since I've only been working on it for less than a week, and I was sick for three days. :-)

-- 
Tim Coleman <tim@timcoleman.com>                       [43.28 N 80.31 W]
BMath, Honours Combinatorics and Optimization, University of Waterloo
Software Developer, Global Services, Open Text Corporation
"Under capitalism, man exploits man.  Under communism, it's just the
 opposite." -- J.K. Galbraith