On Thu, 5 Oct 2000, Jos Hernndez Zavala wrote:
> Hello.
>
> I am trying to load a jdbc driver for postgres, only I
> want to make it from an Applet. For an application I
> used the form:
>
> Class.forName ("postgresql.Driver");
>
> Which the correct form would be to be able to make it?
For 6.x drivers you are correct. For 7.x and later it's
Class.forName("org.postgresql.Driver");
PS: For applications, you have two other methods available. One supplying
the driver in the command line, ie:
java -Djdbc.driver=org.postgresql.Driver my.application
The other is using Manifest in your application's jar file, which works
well under Windows.
Peter
--
Peter T Mount peter@retep.org.uk http://www.retep.org.uk
PostgreSQL JDBC Driver http://www.retep.org.uk/postgres/
Java PDF Generator http://www.retep.org.uk/pdf/