8 messages in com.mysql.lists.javaRe: help writing JDBC driver
FromSent OnAttachments
21st century fox31 May 1999 04:03 
Robert Lebowitz04 Jun 1999 07:43 
candide04 Jun 1999 07:48 
Tim Endres04 Jun 1999 08:46 
candide04 Jun 1999 09:33 
Mark Matthew04 Jun 1999 17:29 
Michael Widenius05 Jun 1999 05:08 
candide05 Jun 1999 07:38 
Subject:Re: help writing JDBC driver
From:Robert Lebowitz (lebo@finaltouch.com)
Date:06/04/1999 07:43:50 AM
List:com.mysql.lists.java

Candide:

I think that you might want to search for a copy of "Java Database Programming with JDBC", by Patel and Moss. It's a bit old, but I recall that it has a couple of chapters where they walk through the process of writing a JDBC driver for a very simple textfile database. It might give you a starting point for this process.

Rob

Sorry, I think I didn't specify a reply address

-----Original Message----- From: 21st century fox <frac@ping.be> To: ja@lists.mysql.com <ja@lists.mysql.com> Date: lundi 31 mai 1999 13:03 Subject: help writing JDBC driver

Hi,

I am writing a GIS in Java, and I'm working for 4-5 months with twz jdbc driver, which is by now very satisfying. I am about to test mm's driver in the coming days, and wish in the medium term to have more control about the connection with the database, for example, to get some functionalities of the JDBC 2.0 specs, some of which are very interesting for my purpose. I would also like to play a little bit with the JNDI extension. Hence, I would need some hints about the fundamentals of JDBC programming and the mySQL protocol. How do you create a socket to the server to get a connection id, how do you get the different kinds of data. Where in the JDBC API do you write these initial statements... I might not want to rewrite a driver entirely, though starting a new one from scratch until a certain point could be interesting. After that I would sure prefere to collaborate on someone else's code.

Thanks in advance