From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Peter T Mount <peter(at)retep(dot)org(dot)uk> |
Cc: | PostgreSQL Hackers List <hackers(at)postgreSQL(dot)org>, PostgreSQL Docs List <docs(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] JDBC problem in the docs |
Date: | 1999-05-25 13:27:43 |
Message-ID: | 374AA54F.B1690FEB@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-hackers |
> 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Wheeler, Alfred | 1999-05-25 14:18:44 | unsubscribe pgsql-docs |
Previous Message | Peter T Mount | 1999-05-25 12:07:35 | JDBC problem in the docs |
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 1999-05-25 13:47:49 | Re: [HACKERS] Heads up: does RULES regress test still work for you? |
Previous Message | Thomas Lockhart | 1999-05-25 13:18:38 | Call for updates! |