From: | Agus Mingtarja <mingtarja(at)hdz-ima(dot)rwth-aachen(dot)de> |
---|---|
To: | pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | JDBC driver and postgreSQL |
Date: | 1998-05-06 18:33:55 |
Message-ID: | 3550AD13.9A20C305@hdz-ima.rwth-aachen.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Hi All,
i have postgresql 6.3.2 (Linux 2.0 debian) istalled, and i can make
database now. My question ist:
How can i install the JDBC driver? (i use JDK 1.1.5)
Ist my programm below correct?
...
try
{ Class.forName("postgresql.driver");
// force loading of driver
String url = "jdbc:postgresql://localhost/database";
String user = "nobody";
String password = "password";
Connection con = DriverManager.getConnection(url, user,
password);
Statement stmt = con.createStatement();
...
that's all. Please give me a tip. Thank You for the tip!
--
Agus MINGTARJA ..........................
RWTH-Aachen GERMANY .....................
mingtarja(at)hdz-ima(dot)RWTH-Aachen(dot)de ........
http://www.geocities.com/Athens/8668/ ...
From | Date | Subject | |
---|---|---|---|
Next Message | Constantin Teodorescu | 1998-05-06 18:37:08 | Re: [INTERFACES] RE: [QUESTIONS] pgaccess |
Previous Message | mheravi | 1998-05-06 18:17:00 | Re: [INTERFACES] RE: [QUESTIONS] pgaccess |