db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject How does DriverManager know who owns jdbc:default:connection?
Date Mon, 17 May 2010 21:08:59 GMT
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?



View raw message