From: | Dave Harkness <daveh(at)MEconomy(dot)com> |
---|---|
To: | Rene Pijlman <rpijlman(at)wanadoo(dot)nl>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Re: JDBC 2.0 conformance, documentation and todo list |
Date: | 2001-08-08 22:11:03 |
Message-ID: | 5.0.2.1.2.20010808150636.00b356f0@mail.meconomy.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Rene Pijlman | 2001-08-08 22:31:41 | Re: Re: JDBC 2.0 conformance, documentation and todo list |
Previous Message | Rene Pijlman | 2001-08-08 21:55:33 | Re: Re: JDBC 2.0 conformance, documentation and todo list |