db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dyre Tjeldvoll <Dyre.Tjeldv...@oracle.com>
Subject "Cloning" a connection?
Date Fri, 28 Mar 2014 13:05:31 GMT
Hi,

I'm faced with a situation where I'm passed a Derby connection object 
and would like to create another connection to the same database.

Through DatabaseMetaData.getURL() I can get the "base url", i.e. just 
the protocol and the database file name. But is there a way to get the 
properties used to create the connection? Without the properties it may 
not be possible to connect to the "base URL", e.g. if original 
connection was to an encrypted database.

Is it even possible?


-- 
Regards,

Dyre

Mime
View raw message