Database connection error... - Mailing list pgsql-interfaces

From Robson Martins
Subject Database connection error...
Date
Msg-id 000701becc8f$b61d0f60$1ed4d2c8@Designer2.netalfa.com.br
Whole thread Raw
List pgsql-interfaces
Hello all
I'm using this commands to connect to the database:
    Connection co;
    Class.forName ("postgresql.Driver");
    co=DriverManager.getConnection("jdbc:postgresql://localhost/javadb","USERNAME","PASSWORD");
 
And why do I get this error?:
     java.lang.IllegalArgumentException: Argument # > Arg length
 
The commands are right, I think, if anybody know why i get this error help me!
 
I'm waiting answer...
Hugs, Robson Martins ( robson@netalfa.com.br )

pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError
Next
From: Doug Thistlethwaite
Date:
Subject: JDBC connection problem while trying example.basic