|
Re: Bug with binding query parameters hangs entire connection: msg#00208db.postgresql.jdbc
Peter, After getting an error during a transaction the postgresql database aborts the transaction and all subsequent statements issued in the transaction will error. After an error you will need to rollback the transaction and begin a new one. This means that in java code using the jdbc driver you can't just trap a SQLException and continue processing, you need to rollback inside the exception handler and start a new transaction. thanks, --Barry Peter Bäck wrote: Hello. ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Interrupt execution: 00208, Dave Cramer |
|---|---|
| Next by Date: | Re: timezone incompatibility: 00208, Thomas Lockhart |
| Previous by Thread: | Bug with binding query parameters hangs entire connection instance. (Possibly redundant notice)i: 00208, Peter Bäck |
| Next by Thread: | Posgresql - openoffice-JDBC: 00208, Parul Agarwal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |