Go to http://www.retep.org.uk/postgres/ and dowload the JAR file for the version of 
Postgres that you are using. They seem to be pretty much compatible with each other.  
There are also some PDF files which you can download. This should take you through. 

If you still lost, have a look at the following sample : 
--------------------------------------------------------------------------------------------------------------------------------
                String dbUrl = "jdbc:postgresql://"+host+"/tour";
                        Class.forName("postgresql.Driver");
                        c = DriverManager.getConnection(dbUrl, "tour", "");
                        s=c.createStatement();
                rback=s.executeQuery("Select username,level from users where 
(userid='"+userid.getSelectedItem()+"' and password='"+password.getText()+"')");
                        r="";
                        while (rback.next())
                        {
                                r=rback.getString("username");
                                l=rback.getInt("level");
                                options.sign=r;
                                options.level=l;
                        }
                        c.close();
--------------------------------------------------------------------------------------------------------------------------------

-----Original Message-----
From:   Marcos Seoane [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, August 04, 1999 7:42 PM
To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:        PostgreSQL

alguem tem algum programa de exemplo ou pode fazer um pra mim de sistema JAVA 
conectando um banco de dados PostgreSQL...eu seria muitissimo grato...

[]'s
Marcos Seoane


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to