pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: buvelbier-tsmets@yahoo.com
Cc: pgsql-jdbc@postgreSQL.org
Subject: Re: JDBC driver does not support getGeneratedKeys method
Date: Tue, 25 Apr 2006 18:59:18 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net> (raw)
In-Reply-To: <1146005590.8794.23.camel@localhost.localdomain>
References: <1146005590.8794.23.camel@localhost.localdomain>



On Wed, 26 Apr 2006, Thomas SMETS wrote:

> I try to use Log4J new DBAppender (cfr. the config file herebelow) but
> it keeps on complaining with the following message :
>

The problem with the log4j code is that it has a number of warning 
messages that probably ought to be more fatal.  You have some properties 
set incorrectly, so it cannot create a valid connection which results in 
this particular error.

>        <param name="driver" value="org.postgresql.Driver" />
>        <param name="url"
> value="jdbc:postgresql://localhost:5432/Log4j" />
>        <param name="username" value="xyz" />
>        <param name="password" value="xyz" />
>        <param name="dialect" value="POSTGRES_DIALECT" />

use param names driverClass and user instead of driver and username.  Also 
remove the dialect param.

Kris Jurka



view thread (2+ messages)

Message-ID: <Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net>
Permalink:  ../Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, buvelbier-tsmets@yahoo.com
  Subject: Re: JDBC driver does not support getGeneratedKeys method
  In-Reply-To: <Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net>
  References: <1146005590.8794.23.camel@localhost.localdomain> <Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox