W
WTO_LOVER
Unregistered / Unconfirmed
GUEST, unregistred user!
我的jb5+oracle8i;连接,为什么不支持向后滚;
代码如下:
-----------------------------------------
DatabaseMetaData dmd = con.getMetaData();
if(dmd.supportsTransactions()) System.out.println(" support Transtor/n");
else
System.out.println(" not support Transtor/n");
if(dmd.supportsResultSetType(ResultSet.TYPE_SCROLL_SENSITIVE)) System.out.println("support SCROLL-TYPE") ;
else
System.out.println("no support SCROLL-TYPE") ;
-----------------------
结果是:support Transtor;
no support scroll_type;
//他竟然支持事务,不支持滚动;我需要配制那里吗?
代码如下:
-----------------------------------------
DatabaseMetaData dmd = con.getMetaData();
if(dmd.supportsTransactions()) System.out.println(" support Transtor/n");
else
System.out.println(" not support Transtor/n");
if(dmd.supportsResultSetType(ResultSet.TYPE_SCROLL_SENSITIVE)) System.out.println("support SCROLL-TYPE") ;
else
System.out.println("no support SCROLL-TYPE") ;
-----------------------
结果是:support Transtor;
no support scroll_type;
//他竟然支持事务,不支持滚动;我需要配制那里吗?