ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xianwinwin <xianwin...@gmail.com>
Subject How to get the value of "JDBC.ConnectionURL" in the code?
Date Wed, 29 Jul 2009 21:56:10 GMT

Hi All,

I have the following code:

public class DBDaoManager
            Reader reader =
            daoManager = DaoManagerBuilder.buildDaoManager(reader);
            initialized = true;

I'd like to know how to get the value of JDBC.ConnectionURL in DaoMap.xml:

<property name="JDBC.ConnectionURL"

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-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message