Re: problem in connetting using reflection - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: problem in connetting using reflection
Date
Msg-id Pine.BSO.4.56.0404102026070.30692@leary.csoft.net
Whole thread Raw
In response to problem in connetting using reflection  (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>)
Responses Re: problem in connetting using reflection
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: Giuseppe Sacco
Date:
Subject: problem in connetting using reflection
Next
From: Kris Jurka
Date:
Subject: Re: Column size BUG with text/bytea with 7.4 JDBC Driver