Thread: jdbc problem
View Single Post

   
  #2 (permalink)  
Old 04-16-2008, 12:52 AM
Kris Jurka
 
Posts: n/a
Default Re: jdbc problem



On Wed, 22 Aug 2007, PaweĊ~B Cesar Sanjuan Szklarz wrote:

> I use ibatis and jdbc do connect to postgres. When I use a 8.2 database,
> then all works ok, but for 7.4 databases I get this error:
>
> Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at end
> of input
>
> I really try to :
> ----- Change the JDBC jar file for postgres 7.4 and 8.2
> ----- use additional options on the url connection
>
> My database is in LATIN2.
>
>


It's not really clear what's going on here. Please use the 8.2 driver and
add "?loglevel=2" to your JDBC url to produce additional logging
information on the JDBC side and send that here.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote