9 messages in com.mysql.lists.javaRe: MySQL Connector/J 3.0.13 (Product...
FromSent OnAttachments
Mark Matthews27 May 2004 12:01 
Edward Christian S28 May 2004 00:11 
Peter Wilm28 May 2004 00:23 
Mark Matthews28 May 2004 05:21 
Dave Newton28 May 2004 06:49 
Mark Matthews28 May 2004 07:10 
Dave Newton28 May 2004 07:26 
Jeff Mathis28 May 2004 08:43 
Dave Newton28 May 2004 09:30 
Subject:Re: MySQL Connector/J 3.0.13 (Production) Has Been Released
From:Jeff Mathis (jmat@predict.com)
Date:05/28/2004 08:43:38 AM
List:com.mysql.lists.java

anyone who has done development on any scale knows things like this happen. whats is more important is how the issue is addressed, in this case a quick follow-on release. thanks Mark.

jeff

Mark Matthews wrote:

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Dave Newton wrote:

On Fri, 28 May 2004 07:21:37 -0500 Mark Matthews <ma@mysql.com> wrote:

Peter Wilm wrote:

static public void main(String[] args) throws Exception { Class.forName("com.mysql.jdbc.Driver"); Connection jdbcConnection = DriverManager.getConnection("jdbc:mysql://localhost:3306/ConnectorTest" ,"root", "password"); }}

peter@argon:~/tmp$ java ConnectorTest Exception in thread "main" java.sql.SQLException: Cannot load

connection

class because of underlying exception:

'java.lang.NumberFormatException:

For input string: "localhost"'. at

This bug snuck out, and will be fixed with 3.0.14 which I'm uploading as I write this.

How could a bug that didn't allow a connection "sneak out"?!?!?!?!?

Seems like

a lot of the tests for a JDBC driver would create a connection.

I hope.

Dave,

All of the tests specify port numbers with ":", because we run them on every current version of MySQL server, so with them being on one machine, they of course use non-standard ports...We now run at least one server on the 'default' port and don't specify a port number, so this doesn't happen in the future.

There's over 1500 tests between the unit test suite and the JDBC compliance testsuite, this is just a case of bad coverage (which is now corrected).

-Mark

- -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com

MySQL Guide to Lower TCO http://www.mysql.com/it-resources/white-papers/tco.php -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAt0hRtvXNTca6JD8RArvqAJ4mJQXXnJ5gCSW5mHLOfFnLpfzoVACfU5C9 /VYA4z/K2+RduK1x/sUkKQA= =+TIh -----END PGP SIGNATURE-----