Re: problem in connetting using reflection

From: Kris Jurka <books(at)ejurka(dot)com>
To: Giuseppe Sacco <giuseppe(at)eppesuigoccas(dot)homedns(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: problem in connetting using reflection
Date: 2004-04-11 01:28:51
Message-ID: Pine.BSO.4.56.0404102026070.30692@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-04-11 01:36:37 Re: Column size BUG with text/bytea with 7.4 JDBC Driver
Previous Message Giuseppe Sacco 2004-04-11 00:16:50 problem in connetting using reflection