Java获取连接的数据库名称
2011/9/21 8:10:34 qiaolevip http://qiaolevip.iteye.com
我要评论(0)
- 摘要:conn=DBHelperConn.getConn(id);ps=conn.prepareStatement(sql);Stringstr=conn.getCatalog();
- 标签:Java 数据库 数据 连接
conn = DBHelperConn.getConn(id);
ps = conn.prepareStatement(sql);
String str = conn.getCatalog();