|
11 | 11 | importorg.postgresql.core.Encoding;
|
12 | 12 |
|
13 | 13 | /**
|
14 |
| - * $Id: Connection.java,v 1.22 2001/08/04 19:32:04 momjian Exp $ |
| 14 | + * $Id: Connection.java,v 1.23 2001/08/04 19:46:56 momjian Exp $ |
15 | 15 | *
|
16 | 16 | * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
|
17 | 17 | * JDBC2 versions of the Connection class.
|
@@ -120,8 +120,8 @@ protected void openConnection(String host, int port, Properties info, String dat
|
120 | 120 | this_driver =d;
|
121 | 121 | this_url =url;
|
122 | 122 | PG_DATABASE =database;
|
123 |
| -PG_PASSWORD =info.getProperty("password"); |
124 |
| -PG_USER =info.getProperty("user"); |
| 123 | +PG_PASSWORD =info.put("password"); |
| 124 | +PG_USER =info.put("user"); |
125 | 125 | PG_PORT =port;
|
126 | 126 | PG_HOST =host;
|
127 | 127 | PG_STATUS =CONNECTION_BAD;
|
|