1 message in com.mysql.lists.javaCompiling mm.mysql-2.0.2
FromSent OnAttachments
Dirk Hillbrecht18 Nov 2000 16:05 
Subject:Compiling mm.mysql-2.0.2
From:Dirk Hillbrecht (dirk@gmx.de)
Date:11/18/2000 04:05:02 PM
List:com.mysql.lists.java

Hi everyone,

I just got mm.mysql-2.0.2 and so I am now in the middle of the process of upgrading my application to it (from 1.2c).

First of all, I am rather impressed as it seems as if its speed has increased against the old version. Furthermore I noticed that NULL Strings in the database seem to be returned as NULL Strings in Java (which before had been Strings with length 0). Is that correct?

I am also somehow impressed that the new version is much more restrictive against coding sloppiness. Until now I found already three missing rs.next() statements in my code and wonder somehow how it worked before at all. I hope, I have not hidden more of these time bombs in it...

At last I have one question: I wanted to compile the thing on my own. That did not work out at all. It stops while compiling MysqlDataSource complaining that it does not find javax.sql.DataSource. Changing into e.g. jdbc1 and issuing a compile command leads to tons of error messages that certain methods of certain abstract super classes are not redefined and so on.

It seams rather clear to me that compilation of the complete driver must take place in several parts which are executed in different environments. My question: Which part should be compiled in which way? I tried it with IBM's JRE-1.3 environment and the jikes-1.12 compiler (btw.: pretty cool stuff... and terribly fast!). Unfortunately I could not find any documentation on this topic.

Ciao, Dirk