Re: Re: JDBC 2.0 conformance, documentation and todo list
От | Dave Harkness |
---|---|
Тема | Re: Re: JDBC 2.0 conformance, documentation and todo list |
Дата | |
Msg-id | 5.0.2.1.2.20010808150636.00b356f0@mail.meconomy.com обсуждение исходный текст |
Ответ на | Re: Re: JDBC 2.0 conformance, documentation and todo list (Rene Pijlman <rpijlman@wanadoo.nl>) |
Ответы |
Re: Re: JDBC 2.0 conformance, documentation and todo list
|
Список | pgsql-jdbc |
At 02:55 PM 8/8/2001, Rene Pijlman wrote: >Unfortunately, I'm getting many failed results with messages >like this: > >******************************************************************************** >Beginning Test: testAllProceduresAreCallable >******************************************************************************** >Using DataSource >ERROR: SQL Exception : No suitable driver >Calling allProceduresAreCallable on DatabaseMetaData >ERROR: Unexpected exception null >ERROR: Call to allProceduresAreCallable is Failed! >ERROR: java.lang.NullPointerException The first error tells me the JAR with the driver is not in your classpath? The manager cannot find the PostgreSQL JDBC driver, and thus you are getting a null connection object from DriverManager.getConnection(). The second error then is a result of doing result = conn.allProceduresAreCallable(); with conn == null. Peace, Dave
В списке pgsql-jdbc по дате отправления: