Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzGnh-00039C-I3 for pgsql-jdbc@arkaria.postgresql.org; Mon, 10 Sep 2018 07:40:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzGnf-00015t-EP for pgsql-jdbc@arkaria.postgresql.org; Mon, 10 Sep 2018 07:39:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzGnf-00015k-8Q for pgsql-jdbc@lists.postgresql.org; Mon, 10 Sep 2018 07:39:59 +0000 Received: from mx1.mailbox.org ([80.241.60.212]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fzGnc-0007ob-27 for pgsql-jdbc@postgresql.org; Mon, 10 Sep 2018 07:39:58 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 65AF449673; Mon, 10 Sep 2018 09:39:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id vhLFD2-rEG1l; Mon, 10 Sep 2018 09:39:52 +0200 (CEST) Message-ID: Subject: Re: Postgresql jdbc driver for PG version 9.5 From: Laurenz Albe To: Poul Kristensen Cc: Jorge =?ISO-8859-1?Q?Sol=F3rzano?= , pgsql-jdbc@postgresql.org Date: Mon, 10 Sep 2018 09:39:51 +0200 In-Reply-To: References: <47412eb26f973018bda1cd3e69b53bca3ded01c9.camel@cybertec.at> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Poul Kristensen wrote: > Hi and thank you for responding but I have to put a class as db.driver value into String driver and > then loaded this way Class.forName(driver); > It works with the oracle driver. > I am using Postgresql JDBC Driver 42.2.25 and Driver.class eg:_ db.driver=Driver.class > but is rejected as not executable. It should be very simple. Does anyone use the Driver.class? I do it all the time, and it works just fine. Just use "org.postgresql.Driver" as the driver class name and make sure the JAR file is on your class path. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com