Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id E48222E00CD; Sun, 25 Nov 2007 14:17:08 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 85545-10; Sun, 25 Nov 2007 14:17:07 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 40E832E00BD; Sun, 25 Nov 2007 14:17:08 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id lAPIH6JJ089343; Sun, 25 Nov 2007 14:17:06 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id lAPIGCUU089262; Sun, 25 Nov 2007 14:16:12 -0400 (AST) (envelope-from news) Date: Sun, 25 Nov 2007 13:16:12 -0500 From: Lew User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 X-Newsgroups: pgsql.general,pgsql.admin Subject: Re: Error while compiling PostgreSQL with Java References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 23 X-Usenet-Provider: http://www.giganews.com X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.36 To: pgsql-admin@postgresql.org.pgsql-general@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/220 X-Sequence-Number: 27463 Никоноров Григорий wrote: > Thanks for your answer.When i [sic] download this "JDBC4 Postgresql Driver, > Version 8.2-506" driver what should i do next to configure PostgreSQL > with it ? Place the JAR containing the driver in the classpath for your Java application. In the Java program be sure to load the org.postgresql.Driver class and establish the connection to the database via a URL such as jdbc:postgresql://yourhost:5432/yourdb. (JNDI is another approach which does these steps via a declarative approach.) If you had read any of the PG JDBC documentation you might have found instructions there. Chapters 2 and 3 of the referenced link (from the very same site from which you got the driver) go into some detail. has some excellent information about JDBC in general. SunIYF, PGIYF (in this case, jdbc.postgresql.org IYF) and GIYF. -- Lew