lishunli / nutz

Automatically exported from code.google.com/p/nutz
0 stars 0 forks source link

Daos.java在jdk5编译通不过,因为其中使用了java.sql.Statement.isClosed()方法。 造成Nutz不兼容JDK5。 #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
必须JDK6才支持java.sql.Statement.isClosed()方法,造成Nutz不兼容JDK5
。

Original issue reported on code.google.com by hzzd...@gmail.com on 16 Mar 2010 at 2:46

GoogleCodeExporter commented 9 years ago
恩,很严重,是我引入的.

Original comment by wendal1985@gmail.com on 16 Mar 2010 at 2:49

GoogleCodeExporter commented 9 years ago
这个Issue是解决 Issue 132 的时候引入的.

Original comment by wendal1985@gmail.com on 16 Mar 2010 at 2:51

GoogleCodeExporter commented 9 years ago
要不,在 Safeclose 里面直接关闭,不检查 isClose 了。
在 SqlImpl 里面,把关闭 Statement 的两行去掉 ^_^

Original comment by zozoh...@gmail.com on 16 Mar 2010 at 6:18

GoogleCodeExporter commented 9 years ago
是因为这个问题,而把最新的快照版变 Deprecated 的吗?

Original comment by zozoh...@gmail.com on 16 Mar 2010 at 6:21

GoogleCodeExporter commented 9 years ago
yes

Original comment by wendal1985@gmail.com on 16 Mar 2010 at 7:16

GoogleCodeExporter commented 9 years ago
fix in r955

Original comment by zozoh...@gmail.com on 18 Mar 2010 at 2:28

GoogleCodeExporter commented 9 years ago

Original comment by wendal1985@gmail.com on 13 May 2010 at 11:03

GoogleCodeExporter commented 9 years ago
Verified in 1.a.28

Original comment by wendal1985@gmail.com on 15 May 2010 at 8:29