Hi All, I have the following code:
public class DBDaoManager { ... Reader reader = Resources.getResourceAsReader("com/persistence/ibatis/conf/DaoMap.xml"); daoManager = DaoManagerBuilder.buildDaoManager(reader); initialized = true; } I'd like to know how to get the value of JDBC.ConnectionURL in DaoMap.xml: DaoMap.xml ------------ .... <property name="JDBC.ConnectionURL" value="jdbc:mysql://localhost/rentacar_db"/> I wish to know what if the system is using localhost or an actual IP. can anyone advise how to extract this info in the code level (meaning after initialized = true;) Thank you!!! -- View this message in context: http://www.nabble.com/How-to-get-the-value-of-%22JDBC.ConnectionURL%22-in-the-code--tp24728820p24728820.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org