4 messages in com.mysql.lists.javaRe: Connector/J 3.0.6
FromSent OnAttachments
Rene van de Weerd01 Apr 2003 03:04 
Mark Matthews01 Apr 2003 09:51 
Rene van de Weerd01 Apr 2003 22:19 
Mark Matthews02 Apr 2003 04:41 
Subject:Re: Connector/J 3.0.6
From:Mark Matthews (ma@mysql.com)
Date:04/01/2003 09:51:46 AM
List:com.mysql.lists.java

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

Rene van de Weerd wrote: | Hi everyone, | | The new version of Connector/J 3.0.6 does not allow SELECT ... INTO | OUTFILE anymore via executeUpdate. In version 2.0.14 it did. | (In both versions, it is not possible to | do a SELECT ... INTO OUTFILE via executeQuery.) | | Does anyone know an other way? Is this a bug?

No. The behavior it used to have was a bug.

You can not issue 'SELECTs' with executeUpdate() according to the JDBC spec. You need to use executeQuery().

-Mark

- -- MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/

For technical support contracts, visit https://order.mysql.com/?ref=mmma

iD8DBQE+idHItvXNTca6JD8RAtotAJ9+5vRNmE7/CVe8EDekWQDs1s7nqgCeKL5k gE8jU665Et8fUQz1jjAZqj8= =by8z -----END PGP SIGNATURE-----