[Fwd: [ADMIN] What may be the url we need to use to connect the Postgres Database with Java]

2001-10-16 Thread Jesus Sandoval
--- Begin Message --- Well let me send yo a little example program how to connect to postgresql from java: import java.sql.*; public class Cias { // Declara e inicializa variables protected int idCia; protected String nombre; public ResultSet rs; public Cias() throws ClassNotFound

Re: [ADMIN] What may be the url we need to use to connect the Postgres Database with Java

2001-10-16 Thread Moovarkku Mudhalvan
- From: "Nick Fankhauser" <[EMAIL PROTECTED]> To: "Moovarkku Mudhalvan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 15, 2001 6:44 PM Subject: Re: [ADMIN] What may be the url we need to use to connect the Postgres Database with Java > jdbc.

Re: [ADMIN] What may be the url we need to use to connect the Postgres Database with Java

2001-10-15 Thread Nick Fankhauser
jdbc.oracle.thin@ipaddress > like this do we have any url need to be used in Postgres if so > let me know. jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database if left out, host defaults to localhost- this is where you put your IP address if left out,

[ADMIN] What may be the url we need to use to connect the Postgres Database with Java

2001-10-15 Thread Moovarkku Mudhalvan
Hi friends, Greetings. if we use the oracle as backend with Java programming we use the url like jdbc.oracle.thin@ipaddress like this do we have any url need to be used in Postgres if so let me know. The Driver i got it from the Package... Thanks Mudhalvan M.M