From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | buvelbier-tsmets(at)yahoo(dot)com |
Cc: | pgsql-jdbc(at)postgreSQL(dot)org |
Subject: | Re: JDBC driver does not support getGeneratedKeys method |
Date: | 2006-04-25 23:59:18 |
Message-ID: | Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2006-04-26 00:12:25 | Re: Money deprecation and cast problem |
Previous Message | Thomas SMETS | 2006-04-25 22:53:10 | JDBC driver does not support getGeneratedKeys method |