1 message in com.mysql.lists.javaRE: Table inserts with JDBC| From | Sent On | Attachments |
|---|---|---|
| Doherty, Derek | 20 Jun 2001 09:23 |
| Subject: | RE: Table inserts with JDBC![]() |
|---|---|
| From: | Doherty, Derek (Dere...@infoscore.ie) |
| Date: | 06/20/2001 09:23:57 AM |
| List: | com.mysql.lists.java |
Might anyone know the cause of the following problem & hopefully a solution. Below is an excerpt from the mysqld.log file, 95% of the time this is working correctly but on occassion the UPDATE statement is being passed incorrectly through the JDBC driver. There should be 2 UPDATE statements being passed as shown below but somehow they are being mixed into one at times. Both are results of the same code.
I am using the mm.mysql.jdbc-1.2c JDBC driver
Any help would be greatly appreciated, Thanks, Derek.....
CORRECTLY BEING PASSED
------------------------
11548 Query select * from meta_address where personid=1546 11548 Query UPDATE meta_audit SET status ='P',date_received = 0 WHERE personid = 1546 AND status = 'H' 11548 Query UPDATE meta_audit SET date_received = NULL WHERE personid = 1546 AND email_no = 1 11548 Quit
ERROR in SQL STMTS BEING PASSED
--------------------------------
2610 Query select * from meta_person where personid=5257?emailno=1 2610 Query UPDATE meta_audit SET status ='P',date_received = 0 WHERE personid = 5257?emailno=1 AND status = 'H'
****************************************************************************
Infoscore Software Services Ireland Ltd. Confidentiality This electronic transmission is strictly confidential and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify in...@infoscore.ie. ****************************************************************************




