Re: problem in connetting using reflection
От | Kris Jurka |
---|---|
Тема | Re: problem in connetting using reflection |
Дата | |
Msg-id | Pine.BSO.4.56.0404102026070.30692@leary.csoft.net обсуждение исходный текст |
Ответ на | problem in connetting using reflection (Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>) |
Ответы |
Re: problem in connetting using reflection
|
Список | 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 по дате отправления: