While i am trying to read database name from the database connection string it returns null string. i am establish the connection to the Oracle. i got the database connection and returns the connection success.
String dbname= dbConnection.getCatalog();
from the above code, dbconnection is is database connection object. if i used to get the database name using getCatalog() method not get the dbname. any one tell me any other way to get the database name from the database connection string.
any suggestions could be appreciated.