You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Kathey Marsden <km...@sbcglobal.net> on 2010/05/17 23:08:59 UTC
How does DriverManager know who owns jdbc:default:connection?
I am working on an issue where two applications (one connecting to DB2
with JCC) and one using Derby are running in the same JVM. When using
server side JDBC using
DriverManager.getConnection("jdbc:default:connection"), the JCC driver,
which is used for DB2 server side JDBC, accepts the url and tries to
make a DB2 T2 connection. It seems valid for JCC, like the Derby
embedded driver to accept this url. With multiple Drivers in the same
JVM, how can DriverManager differentiate?
Thanks
Kathey