在Weblogic Server App 下通过JNDI name 获取 DataSourse
public String getString() {
String cacheLogFlag = null;
Connection con = null;
try {
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup(XXConstants.DA...
原创
2010-02-25 20:00:35 ·
174 阅读 ·
0 评论