RE: JDBC for 7.0 - Tuple received before MetaData ex ception

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Joseph Shraibman'" <jks(at)selectacast(dot)net>, Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: "'Gunnar R|nning'" <gunnar(at)candleweb(dot)no>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: JDBC for 7.0 - Tuple received before MetaData ex ception
Date: 2000-05-30 07:04:15
Message-ID: 1B3D5E532D18D311861A00600865478CF1AE72@EXCHANGE1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)selectacast(dot)net]
Sent: Friday, May 26, 2000 8:11 PM
To: Peter Mount
Cc: 'Gunnar R|nning'; pgsql-interfaces(at)postgresql(dot)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.

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-05-30 07:24:10 RE: jdbc driver: Why it isn't jdbcCompliant?
Previous Message Peter Mount 2000-05-30 06:46:28 RE: Postgresql 7.0 JDBC exceptions - broken connecti ons ?