It's all about the answers!

Ask a question

get the RTC database information use java API


倪 新明 (122) | asked May 06 '13, 4:27 a.m.
hi:
how to get the RTC database information use java API ?for example,we hava configured Oracal as the database of RTC, and i want to get the database information such as the jdbcurl or the user name by  java api.
please help!

2 answers



permanent link
Stephanie Bagot (2.1k1513) | answered Sep 16 '13, 3:29 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
I am not sure how to do this by connecting to the oracle DB, but we do log some of the DB information in the application log file. Essentially you could read that information from the jazz.log / ccm.log /jts.log

permanent link
Krzysztof Kaźmierczyk (7.4k372103) | answered Sep 17 '13, 2:39 a.m.
You can read teamserver.properties file. I don't think that there is any easy way to read db settings using Java API.

Anyway, could you let us know what is the reason you need this database information? Possibly we can provide you any alternative solution.

Your answer


Register or to post your answer.