Re: bug in jdbc

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Marek Koniew <asf(at)junisoftex(dot)pl>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: bug in jdbc
Date: 2002-05-28 12:11:20
Message-ID: 1022587880.1694.14.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I think this is a case of using the jdbc 1.1 driver in a 1.2
environment? There are similiar messages in the archive

Dave
On Thu, 2002-05-23 at 08:56, Marek Koniew wrote:
> i got the buggy driver from http://jdbc.postgresql.org/download/pgjdbc2.jar
> jdbc7.0-1.2 driver working OK
>
> there is exception :
>
> Something unusual has occured to cause the driver to fail. Please report this exception: Exception: java.sql.SQLException: ERROR: No such function 'pg_encoding_to_char' with the specified attributes
>
> Stack Trace:
>
> java.sql.SQLException: ERROR: No such function 'pg_encoding_to_char' with the specified attributes
>
> at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:94)
> at org.postgresql.Connection.ExecSQL(Connection.java:398)
> at org.postgresql.Connection.ExecSQL(Connection.java:381)
> at org.postgresql.Connection.openConnection(Connection.java:314)
> at org.postgresql.Driver.connect(Driver.java:149)
> at java.sql.DriverManager.getConnection(DriverManager.java:517)
> at java.sql.DriverManager.getConnection(DriverManager.java:177)
> at board.userbase(board.java)
> at board.doPost(board.java)
> at board.doGet(board.java)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:271)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:311)
> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:484)
> End of Stack Trace
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2002-05-28 12:14:33 Re: bug in jdbc
Previous Message Nick Fankhauser 2002-05-28 12:08:46 Re: bug in jdbc