Re: Re: JDBC 2.0 conformance, documentation and todo list - Mailing list pgsql-jdbc

From Dave Harkness
Subject Re: Re: JDBC 2.0 conformance, documentation and todo list
Date
Msg-id 5.0.2.1.2.20010808150636.00b356f0@mail.meconomy.com
Whole thread Raw
In response to Re: Re: JDBC 2.0 conformance, documentation and todo list  (Rene Pijlman <rpijlman@wanadoo.nl>)
Responses Re: Re: JDBC 2.0 conformance, documentation and todo list
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 by date:

Previous
From: Rene Pijlman
Date:
Subject: Re: Re: JDBC 2.0 conformance, documentation and todo list
Next
From: Rene Pijlman
Date:
Subject: Re: Re: JDBC 2.0 conformance, documentation and todo list