Java 程式設計基礎班(10) - 網路資料庫實驗室
Java 程式設計基礎班(10) - 網路資料庫實驗室
Java 程式設計基礎班(10) - 網路資料庫實驗室
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
建立Statement<br />
Statement 物件變數=Connection 物件變<br />
數.createStatement()<br />
記錄集指標只能向前移動且不能修改<br />
Statement 物件變數=Connection 物件變<br />
數.createStatement(int 游標型態,int 資料一<br />
致性)<br />
Class <strong>10</strong><br />
建立Statement<br />
指標型態<br />
Class <strong>10</strong><br />
TYPE_FORWARD_ONLY<br />
The constant indicating the type for a ResultSet object whose<br />
cursor may move only forward.<br />
TYPE_SCROLL_SENSITIVE<br />
The constant indicating the type for a ResultSet object that is<br />
scrollable and generally sensitive to changes made by others.<br />
TYPE_SCROLL_INSENSITIVE<br />
The constant indicating the type for a ResultSet object that is<br />
scrollable but generally not sensitive to changes made by<br />
others.<br />
31<br />
32<br />
16