Hello,

  i'm writing an application in java and i have the following problem :

when i insert a record into a mysql table through the executeUpdate() method 
of either Statement or PreparedStatement, does the method return immediately
or does it wait until MySql has the data written into the database?

i'm hesitating whether to use a new thread to do inserts with lower priority 
which would be necessary if executeUpdate() waits or whether to do them
in the main thread.

  thank you
       karel pitra

---------------------------------------------------------------------
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

Reply via email to