ResultSet默認(rèn)情況下:
Statement stmt = conn.createStatement(); //建立Statement物件

游標(biāo)是只能向前移動的(Forward Only),在移動游標(biāo)(比如:rs.last(),rs.first())時會拋出異常,所以需要在創(chuàng)建Statement時設(shè)置參數(shù)以實現(xiàn)移動游標(biāo):
posted on 2005-08-26 17:56
ZhuJun 閱讀(634)
評論(0) 編輯 收藏 所屬分類:
開發(fā)手記