4 messages in com.mysql.lists.javaRe: Connector/J 3.0.6| From | Sent On | Attachments |
|---|---|---|
| Rene van de Weerd | 01 Apr 2003 03:04 | |
| Mark Matthews | 01 Apr 2003 09:51 | |
| Rene van de Weerd | 01 Apr 2003 22:19 | |
| Mark Matthews | 02 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
~ __ ___ ___ ____ __ ~ / |/ /_ __/ __/ __ \/ / Mark Matthews <ma...@mysql.com> ~ / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java ~ /_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA ~ <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+idHItvXNTca6JD8RAtotAJ9+5vRNmE7/CVe8EDekWQDs1s7nqgCeKL5k gE8jU665Et8fUQz1jjAZqj8= =by8z -----END PGP SIGNATURE-----




