在网上搜索“关闭连接后resultset取值会有问题吗”看到好几次这样的观点:发表时间:2005-01-26robbin如果你不使用连接池,那么就没有什么问题,一旦Connection关闭,数据库物理连接就被释放,所有相关Java资源也可以被GC回收了。但是如果你使用连接池,那么请注意,Connec...
分类:
数据库 时间:
2014-05-26 22:48:39
阅读次数:
3383
The game “The Pilots Brothers: following the stripy
elephant” has a quest where a player needs to open a refrigerator.There are 16
handles on the refr...
分类:
其他好文 时间:
2014-05-26 22:16:23
阅读次数:
329
DescriptionAccounting for Computer Machinists (ACM)
has sufferred from the Y2K bug and lost some vital data for preparing annual
report for MS Inc.All...
分类:
其他好文 时间:
2014-05-26 22:06:57
阅读次数:
213
Spring事务管理的一些基础知识JDBC对事务的支持首先要知道并不是所有的数据库都支持事务,即使支持也并非支持所有的事务隔离级别,我们可以通过Connection#getMetaData()方法获取DataBaseMetaData(数据库元数据)对象,并通过该对象的supportsTransact...
分类:
编程语言 时间:
2014-05-26 20:59:34
阅读次数:
411
在《Pragmatic Ajax A Web 2.0 Primer
》中对readyStae状态的介绍,摘译如下:0: (Uninitialized) the send( ) method has not yet been
invoked.1: (Loading) the send( ) metho...
分类:
其他好文 时间:
2014-05-26 20:46:09
阅读次数:
293
Analogous to change in technology and the
ever-increasing pollutants in the atmosphere, home air filtering technology has
undergone a massive change. ...
分类:
其他好文 时间:
2014-05-26 16:36:00
阅读次数:
288
CAS,当oldVal与expected相同时,将oldVal更新为newVal,原子操作ABA problem:when a location is read
twice, has the same value for both reads, and "value is same“ is used...
分类:
其他好文 时间:
2014-05-26 16:06:53
阅读次数:
217
【避免Block中的强引用环】 In manual reference counting
mode, __block id x; has the effect of not retaining x. In ARC mode, __block id
x; defaults to retaining ....
分类:
其他好文 时间:
2014-05-26 15:18:44
阅读次数:
219
java.sql.SQLRecoverableException: IO Error:
Connection reset at
oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:612) at oracl...
分类:
数据库 时间:
2014-05-24 07:52:31
阅读次数:
6199
引言: 在项目中使用了MyBatis,一个比较苦恼的问题是无法看到执行的SQL的具体情况,所以,就找到了Log4jdbc-log4j2。这个是一个基于jdbc层面的监听工具,可以监听对于数据库的主要操作,从而完美的查看到其中执行的操作。...
分类:
数据库 时间:
2014-05-22 17:08:07
阅读次数:
486