/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package JDBCTest;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Liu Yuanyuan
*/
public class ConnDemo
{
public static void main(String[] args)
{
String driver = "org.postgresql.Driver";
String url = "jdbc:postgresql://" + "192.168.100.125" + ":" + "5432" + "/" + "postgres";
try
{
Class.forName(driver);
System.out.println("success find