For given Connection instance how do I find out url that the Connection uses to connect the database ? Is it somewhere in Properties returned by Co
Connection
Properties
Connection has the getMetaData() to return DatabaseMetaData . DatabaseMetaData has the getURL() to return the URL for this DBMS.
getMetaData()
getURL()