pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedJDBC problem in the docs
2+ messages / 2 participants
[nested] [flat]
* JDBC problem in the docs
@ 1999-05-25 12:07 Peter T Mount <peter@retep.org.uk>
1999-05-25 13:27 ` Re: [HACKERS] JDBC problem in the docs Thomas Lockhart <lockhart@alumni.caltech.edu>
0 siblings, 1 reply; 2+ messages in thread
From: Peter T Mount @ 1999-05-25 12:07 UTC (permalink / raw)
To: PostgreSQL Hackers List <hackers@postgresql.org>; PostgreSQL Docs List <docs@postgresql.org>
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");
I haven't the time to check at the moment, but can someone (Tom?) check.
They may have vanished when we converted them to sgml
Peter
--
Peter T Mount peter@retep.org.uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [HACKERS] JDBC problem in the docs
1999-05-25 12:07 JDBC problem in the docs Peter T Mount <peter@retep.org.uk>
@ 1999-05-25 13:27 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lockhart @ 1999-05-25 13:27 UTC (permalink / raw)
To: Peter T Mount <peter@retep.org.uk>; +Cc: PostgreSQL Hackers List <hackers@postgreSQL.org>; PostgreSQL Docs List <docs@postgreSQL.org>
> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1999-05-25 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-05-25 12:07 JDBC problem in the docs Peter T Mount <peter@retep.org.uk>
1999-05-25 13:27 ` Thomas Lockhart <lockhart@alumni.caltech.edu>
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