Thread: jdbc-newbie
In order to run servlets, java.sql and javax.sql should be added to the JDK2.0 package. Postgres comes with its own jdbc interface (jdbc7.0-1.2.jar). Are they all neded? What should be installed where? Is there a URL where the full installation process is presented? TIA, Mihai
Mihai Gheorghiu wrote: > > In order to run servlets, java.sql and javax.sql should be added to the > JDK2.0 package. > Postgres comes with its own jdbc interface (jdbc7.0-1.2.jar). > Are they all neded? What should be installed where? > Is there a URL where the full installation process is presented? > > TIA, > > Mihai java.sql.* is part of the JDK so you don't have to add it to your classpath.. You have to add the postgresql jar file and currently the JDBC driver doesn't support javax.sql.* extensions as there is a missing class. I'm working on getting them to Peter to add them to CVS Mike
For servlets, you simply need to copy postgresql.jar into the jre/lib/ext directory. java.sql is in the jdk, and javax.sql is in the enterprise edition. Unless you are using the javax extensions you don't need them. As for the docs, it's on www.postgresql.org Peter -- Peter Mount Enterprise Support Maidstone Borough Council Any views stated are my own, and not those of Maidstone Borough Council -----Original Message----- From: Mihai Gheorghiu [mailto:tanhq@bigplanet.com] Sent: Tuesday, August 08, 2000 4:48 PM To: pgsql-interfaces@postgresql.org Subject: [INTERFACES] jdbc-newbie In order to run servlets, java.sql and javax.sql should be added to the JDK2.0 package. Postgres comes with its own jdbc interface (jdbc7.0-1.2.jar). Are they all neded? What should be installed where? Is there a URL where the full installation process is presented? TIA, Mihai