当前位置:
代码迷
>>
J2EE
>> 从datasource也许connection中取servername
详细解决方案
从datasource也许connection中取servername
热度:
83
发布时间:
2016-04-21 21:47:02.0
从datasource或者connection中取servername
我根据配置文件,得到了datasource,想从中取到servername,请问有什么办法吗?谢谢!
分享到:
------解决方案--------------------
你发点代码啊,光说不明白啊
------解决方案--------------------
你可以直接读 xml 解析xml 好了。
查看全文
相关解决方案
JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
java.lang.UnsupportedOperationException: The user must supply a JDBC connection,该怎么处理
ASP上Set GetSession("conn")=server.CreateObject("adodb.connection")
对 java.sql.Connection 的commit方法理解有关问题
运用HttpURLConnection抓取google搜索结果,总是报错:java.net.SocketException: Connection reset
iReport中应用JavaBean作为Table的数据源:The supplied java.sql.Connection object is nul
jsp页面未加载完毕被关闭,抛java.net.SocketException: Connection reset by peer: socket write,该如何处理
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error,该如何解决
关于HttpURLConnection:Connection timed out: connect 有关问题
Connection aborted by peer 错误,求高手
Software caused connection abort: socket write error解决方案
connection as SYS should be as SYSDBA or SYSOPER解决办法
java.sql.SQLException: Io 错误: Connection refused
java.net.ConnectException: Connection refused,该怎么处理
can't connection db:java.sql.SQLException: Io 错误? The Network Adapter could not
急 java中如何解决java.net.SocketException: Connection reset
java.net.SocketException: Connection reset by peer: socket write error
java.net.ConnectException: Connection timed out: connect,该怎么处理
ORA-12518, TNS:listener could not hand off client connection
紧急SelectCommand.Connection 属性尚未初始化
this.GridView1.DataSource 在点了旋钮后被清空NULL了`
网站运行一段时间 就登陆不下去 提示 过一段时间 selectcommand.Connection 属性尚未初始化
网站测试小疑点 The connection was not closed …
页面中有多个Repeater控件,后台分别Repeater.DataSource=XXX,怎样提高访问速度?解决方案
ExecuteReader: Connection 属性尚未初始化。哪位高手帮小弟我啊高手救小弟我啊
提示异常:Both DataSource and DataSourceID are defined on 'GridView1'
sda.SelectCommand.Connection = con 提示 未将对象引用设置到对象的实例,该如何处理
不能以声明的方式设置“DataSource”属性。解决思路
高分求解:A connection with the server could not be established解决办法
connection,command,DataAdapter,Repeater,dataset这些对象那些运用后一定需要手工关闭的