X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 1398211F6282 for ; Tue, 25 Apr 2006 20:00:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 52450-03 for ; Tue, 25 Apr 2006 19:59:51 -0300 (ADT) X-Greylist: delayed 00:06:36.488008 by SQLgrey- Received: from mirapoint2.brutele.be (mirapoint2.brutele.be [212.68.199.149]) by postgresql.org (Postfix) with ESMTP id ACE7F11F6280 for ; Tue, 25 Apr 2006 19:59:49 -0300 (ADT) Received: from [192.168.2.125] (host-212-68-230-235.brutele.be [212.68.230.235]) by mirapoint2.brutele.be (MOS 3.7.3-GA) with ESMTP id DYV11334; Wed, 26 Apr 2006 00:53:11 +0200 (CEST) Subject: JDBC driver does not support getGeneratedKeys method From: Thomas SMETS Reply-To: buvelbier-tsmets@yahoo.com To: pgsql-jdbc@postgreSQL.org Content-Type: text/plain Date: Wed, 26 Apr 2006 00:53:10 +0200 Message-Id: <1146005590.8794.23.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=mirapoint2.brutele.be X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090206.444EA6BE.0040,ss=1,fgs=0, ip=192.168.2.125, so=2005-12-15 23:46:19, dmn=5.1.5/2006-02-08 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/156 X-Sequence-Number: 15090 Dear, I try to use Log4J new DBAppender (cfr. the config file herebelow) but it keeps on complaining with the following message : Reported error: "Exception in Action for tag " at line 20 column -1 java.lang.IllegalStateException: DBAppender cannot function if the JDBC driver does not support getGeneratedKeys method *and* without a specific SQL dialect at org.apache.log4j.db.DBAppender.activateOptions(DBAppender.java:179) As I cannot get the information out of the ML's of Log4J ( Log4J Users List , ML log4j dev ) on how to set the SQL_DIALECT variable .... I was wandering if the postgresql driver allowed for getGeneratedKeys.... I was wandering if I needed to use the "jxDBCon-Open Source JDBC driver framework" available here : http://jxdbcon.sourceforge.net/ ... ? Tx, \T, -- Thomas Lionel SMETS rue J. Wytsmanstraat 62 1050 Brussels T : +32 (0)2 742 05 94 M : +32 (0)497 44 68 12 @ : duvelbier-tsmets@yahoo.com Do you skype (callto://tsmets) ?