Jdbc driver - Mailing list pgsql-jdbc

From sugumar
Subject Jdbc driver
Date
Msg-id 000801c0b781$9b819980$91e6a8c0@wipro.com
Whole thread Raw
Responses about jdbc driver connection(urgent)
Re: Jdbc driver
Re: Jdbc driver
List pgsql-jdbc
sir ,
      i am using the following code for connecting postgresql,but this code did not to the other system database.please send the correct for the driver connection.
thanks,
regards
sugumar
 
import java.sql.*;
import java.io.*;
import java.lang.*;
import java.net.*;
 

class meeting123
{
public static void main(String args[]) throws Exception
{
Class.forName("postgresql.Driver");
Connection con=DriverManager.getConnection("jdbc:postgresql://192.168.230.148/meeting,postgres,postgres");
Statement st=con.createStatement();
ResultSet rs=st.executeQuery("select * from tbluser");
while(rs.next())
{
System.out.println("StartHour:"+rs.getString(1)+"\tStartMin:"+rs.getString(2)+"\n");
}
}
}
 

pgsql-jdbc by date:

Previous
From: "Joe Shevland"
Date:
Subject: RE: Possible large object bug?
Next
From: sugumar rathinam
Date:
Subject: about jdbc driver connection(urgent)