--- 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
-
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.
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,
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