https://issues.apache.org/bugzilla/show_bug.cgi?id=47439


Sebb <s...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #2 from Sebb <s...@apache.org>  2009-06-27 12:09:30 PST ---
The Javadoc for Driver.connect() states:

>>
Attempts to make a database connection to the given URL. The driver should
return "null" if it realizes it is the wrong kind of driver to connect to the
given URL. This will be common, as when the JDBC driver manager is asked to
connect to a given URL it passes the URL to each loaded driver in turn. 

The driver should throw an SQLException if it is the right driver to connect to
the given URL but has trouble connecting to the database. 
<<

As it happens, the JDBC driver for Derby also returns null in other cases,
which is how I found the problem.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to