-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Roland Carlsson wrote:
Thanks, that solved the problem. I thought that I could have my own fetch-size but I has now understood that Integer.MIN_VALUE is the only size that is accepted.
Regards Roland Carlsson
The fetch-size setting makes sense for drivers that need to 'call back' to the database to retrieve more rows, as it can increase efficiency to bring rows back in batches...However, the MySQL protocol sends the rows like a 'fire hose', so in this case you're telling the driver to only 'drink' from the hose when it needs another row (by calling next() ). The data is already there waiting ;)
-Mark
- -- MySQL 2003 Users Conference -> http://www.mysql.com/events/uc2003/
For technical support contracts, visit https://order.mysql.com/?ref=mmma
__ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mark Matthews <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer - JDBC/Java /_/ /_/\_, /___/\___\_\___/ Flossmoor (Chicago), IL USA <___/ www.mysql.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.1.90 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+bzKHtvXNTca6JD8RAuXLAJ9E19tXOsU6+Parr5bCNbvdxGpw/gCfcHYU +m3/TcsvyPzTlpKvtO+vFvM= =A1Qm -----END PGP SIGNATURE-----
--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php