Re: JDBC PostgreSQhelL - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: JDBC PostgreSQhelL
Date
Msg-id 3BCF29FB.9060400@xythos.com
Whole thread Raw
In response to Re: JDBC PostgreSQhelL  (<acshafer@moon.hec.utah.edu>)
Responses Re: JDBC PostgreSQhelL  (<acshafer@moon.hec.utah.edu>)
List pgsql-jdbc
The error stack you had in your original email indicates you are running
a 7.2development version of the driver.  Since QueryExecutor didn't
exist in 7.1.  (Sorry I didn't explain how I came up with the conclusion
you were running 7.2development code).

 >>at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:88)
 >>at org.postgresql.Connection.ExecSQL(Connection.java:356)

Where did you get the drivers you are running.  I just verified that the
  7.1 drivers off of jdbc.postgresql.org do not contain this class.

thanks,
--Barry


acshafer@moon.hec.utah.edu wrote:

>
> Dear Barry,
>
>
>>The problem is that you are using current development code with
>>instructions that are written for 7.1.
>>
>
> I'm a bit confused with your response, if you check the postgres
> documentation, these intructions have been there for a long time.  I'm
> looking 7.1.3 and the documentation for Large Ojects is the same as many
> previous versions.  What exactly am I using that is "current development
> code"?
>
>
>>You can either get the 7.1 jdbc drivers which should work according to
>>the documentation you are using, or you can use the 'compatible'
>>parameter to set the behavior in the 7.2 driver back to what it was in 7.1.
>>
>
> Throw me a bone here, the driver I'm using is from jdbc7.1-1.3.jar, is
> this a 7.2 driver?  If so, how do I go about setting the 'compatible'
> parameter.  Just a line or two of code would be nice.  I don't care if I
> have the latest and greatest driver, as long as I can get it to work.
>
>
>>I haven't yet updated the docs for the changes put in place in the 7.2 code.
>>
>
> Understandable, but I'm not sure where 7.2 came into the picture.
>
> regards,
>
> Andrew
>
>



pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: problem with Chinese
Next
From: Marko Kreen
Date:
Subject: Re: [PATCHES] Ant configuration