Jdbc driver

Поиск
Список
Период
Сортировка
От sugumar
Тема Jdbc driver
Дата
Msg-id 000801c0b781$9b819980$91e6a8c0@wipro.com
обсуждение исходный текст
Ответы about jdbc driver connection(urgent)  (sugumar rathinam <sugusri76@yahoo.com>)
Re: Jdbc driver  ("Brett W. McCoy" <bmccoy@chapelperilous.net>)
Re: Jdbc driver  (Peter T Mount <peter@retep.org.uk>)
Список 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 по дате отправления:

Предыдущее
От: "Joe Shevland"
Дата:
Сообщение: RE: Possible large object bug?
Следующее
От: sugumar rathinam
Дата:
Сообщение: about jdbc driver connection(urgent)