RE: JDBC for 7.0 - Tuple received before MetaData ex ception
| От | Peter Mount |
|---|---|
| Тема | RE: JDBC for 7.0 - Tuple received before MetaData ex ception |
| Дата | |
| Msg-id | 1B3D5E532D18D311861A00600865478CF1AE72@EXCHANGE1 обсуждение исходный текст |
| Список | pgsql-interfaces |
No you can run multiple threads, as long as it is one statement per thread. My thinking at the time was that your code may not have been running one statement per thread, or that the locking on PG_Stream wasn't working properly. Peter -- Peter Mount Enterprise Support Maidstone Borough Council Any views stated are my own, and not those of Maidstone Borough Council. -----Original Message----- From: Joseph Shraibman [mailto:jks@selectacast.net] Sent: Friday, May 26, 2000 8:11 PM To: Peter Mount Cc: 'Gunnar R|nning'; pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] JDBC for 7.0 - Tuple received before MetaData exception Peter Mount wrote: > > Not sure, but the only way this could happen is what it states: It's > getting tuples before it's expecting to get them. > > Are you running multiple threads on the same connection? > You mean you can't do that? I thought you couldn't on the same Statement. My code creates one connection object and gets a statement from it for each thread.
В списке pgsql-interfaces по дате отправления: