JDBC driver and postgreSQL
От | Agus Mingtarja |
---|---|
Тема | JDBC driver and postgreSQL |
Дата | |
Msg-id | 3550AD13.9A20C305@hdz-ima.rwth-aachen.de обсуждение исходный текст |
Ответы |
Re: [INTERFACES] JDBC driver and postgreSQL
|
Список | 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@hdz-ima.RWTH-Aachen.de ........ http://www.geocities.com/Athens/8668/ ...
В списке pgsql-interfaces по дате отправления: