java.sql.SQLException: Couldn't perform the operation setAutoCommit: You can't perform any operations on this connection. It has been automatically cl...
分类:
数据库 时间:
2014-09-18 12:46:13
阅读次数:
828
'1、首先声明一个链接对象,声明记录集对象,定义一个数据链接字符串'方法1:Dim adocn As New ADODB.Connection '声明一个链接对象'方法2:'Dim adocn As ADODB.Connection'Set adocn = New ADODB.ConnectionD...
分类:
数据库 时间:
2014-09-17 23:12:02
阅读次数:
379
DECLARE
l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type;
l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type;
l_profile_amt_id NUMBER;
l_profile_id...
分类:
其他好文 时间:
2014-09-17 20:28:32
阅读次数:
399
请求的链接是用的A标签,A上同时写了href和A标签而言,当用户鼠标单击的时候,A对象被触发时会首先去执行请求。瞬时又执行href,这时ie6就会abort前一个请求。解决方法就是:直接把onclick事件写在href中:href="javascript:do()"还有一种解决方案:<ahref="javascript:void..
分类:
其他好文 时间:
2014-09-16 19:11:41
阅读次数:
166
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused...
分类:
移动开发 时间:
2014-09-16 17:28:10
阅读次数:
447
以下代码python2.7可用。#encoding=utf8
#author:walker
#date:2014-09-16
#function:获取指定access文件指定表的所哟字段名
importwin32com.client
if__name__==‘__main__‘:
accessPathFile=r‘D:\tmp\xxx.mdb‘
conn=win32com.client.Dispatch(r‘ADODB.Connection‘)
DSN=‘..
分类:
数据库 时间:
2014-09-16 16:12:41
阅读次数:
213
因为matlab是基于java的,但是原生的matlab是没有jdbc的,这是一个java的mysql connection.只有matlab有这个包,才能正确的连接mysql.1.在http://dev.mysql.com/downloads/connector/j/下载对应的包,把jar文件解压...
分类:
数据库 时间:
2014-09-16 10:39:20
阅读次数:
185
服务端使用FDQUERY查询数据并返回TDATASET:function TSample.GetData: TDataSet;varq: TFDQuery;beginq:= TFDQuery.Create(nil);try q.Connection:=conn;q.SQL.Text := 'SEL....
分类:
其他好文 时间:
2014-09-15 22:48:09
阅读次数:
650
其他配置均没有任何问题,在从SQLServer2005迁移到SQLServer2012的时候一直出现这个问题
org.hibernate.exception.JDBCConnectionException: Cannot open connection
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter....
分类:
数据库 时间:
2014-09-15 19:32:59
阅读次数:
221
(1)Connection对象:主要作用是开启程序集和数据库之间的连接(open()和close()方法)。(2)Commend对象:发送SQL语句指令以及调用在数据库中的存储过程。(3)DataAdapter对象:功能:在数据源和DataSet之间执行数据传输的工作。它可以通过Commend对象下...
分类:
Web程序 时间:
2014-09-15 17:16:49
阅读次数:
255