title: How to get sqlserver database name from datasource name in Java
body: <p>As specified in the title, I want to get the database name in sqlserver, all info I know is datasource name, login name/password to get the Connection object, please show some pointers on how to retrieve the database name correctly, in java, thanks!</p>
  
  <p>Even</p>