Re: JDBC driver does not support getGeneratedKeys method

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC driver does not support getGeneratedKeys method
Дата
Msg-id Pine.BSO.4.63.0604251855480.1400@leary2.csoft.net
обсуждение исходный текст
Ответ на JDBC driver does not support getGeneratedKeys method  (Thomas SMETS <tsmets@brutele.be>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Thomas SMETS
Дата:
Сообщение: JDBC driver does not support getGeneratedKeys method
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Money deprecation and cast problem