On Sun, 11 Apr 2004, Giuseppe Sacco wrote:
> [I want to use reflection to configure a datasource]
>
> Exception in thread "main" org.postgresql.util.PSQLException: La
> propriet� ``user'' � mancante. E` obbligatoria.
> at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:130)
> at org.postgresql.Driver.connect(Driver.java:138)
> at java.sql.DriverManager.getConnection(DriverManager.java:538)
> at java.sql.DriverManager.getConnection(DriverManager.java:188)
> at
> org.postgresql.jdbc2.optional.BaseDataSource.getConnection(BaseDataSource.java:68)
> at
> org.postgresql.jdbc2.optional.BaseDataSource.getConnection(BaseDataSource.java:51)
> at
> org.postgresql.jdbc3.Jdbc3ConnectionPool.getPooledConnection(Jdbc3ConnectionPool.java:39)
> at dao.jdbc.JDBCMemberDAO.<init>(JDBCMemberDAO.java:29)
> at dao.JDBCDAOFactory.getMemberDAO(JDBCDAOFactory.java:197)
> at test.TestMemberDAO.main(TestMemberDAO.java:34)
>
>
> that is, in english, "The ``user'' property is missing while it is
> mandatory."
>
You haven't included the code that is actually mentioned in the
stacktrace. You'll need to either provide the rest of the code in
question or even better a simpler example of the problem you are seeing.
Kris Jurka