pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Peter T Mount <peter@retep.org.uk>
Cc: PostgreSQL Hackers List <hackers@postgreSQL.org>
Cc: PostgreSQL Docs List <docs@postgreSQL.org>
Subject: Re: [HACKERS] JDBC problem in the docs
Date: Tue, 25 May 1999 13:27:43 +0000
Message-ID: <374AA54F.B1690FEB@alumni.caltech.edu> (raw)
References: <Pine.LNX.4.04.9905251305160.2157-100000@maidast.retep.org.uk>

> I'm being asked the same question every so often, about the following
> line:
>         Class.forName(postgresql.Driver);
> People are asking why this isn't working. Obviously there should be quotes
> in there, and I'm thinking that they are missing from the docs.
>         Class.forName("postgresql.Driver");

golem> grep -i Class.forName *.sgml
jdbc.sgml:Class.forName() method. For
<application>Postgres</application>, you would use:
jdbc.sgml:Class.forName("postgresql.Driver");

And from the generated html:

<snip>
In the first method, your code implicitly loads the driver using the
Class.forName() method. For Postgres, you would use: 

Class.forName("postgresql.Driver");
</snip>

Not sure if it could be mentioned somewhere else? Or maybe we can make
a general statement about how well people using Java follow directions
:)

                      - Thomas

-- 
Thomas Lockhart				lockhart@alumni.caltech.edu
South Pasadena, California



view thread (2+ messages)

Message-ID: <374AA54F.B1690FEB@alumni.caltech.edu>
Permalink:  ../374AA54F.B1690FEB@alumni.caltech.edu/
Also on:    postgresql.org/message-id/374AA54F.B1690FEB@alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: lockhart@alumni.caltech.edu, peter@retep.org.uk, hackers@postgreSQL.org, docs@postgreSQL.org
  Subject: Re: [HACKERS] JDBC problem in the docs
  In-Reply-To: <374AA54F.B1690FEB@alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox