Tuesday, March 30, 2010

Statement

Statement 變數名= connection object'sname.createStatement ( 參數1,參數2)
參數1:(指標形態)
TYPE_FORWARD_ONLY,
TYPE_SCROLL_SENSITIVE,
TYPE_SCROLL_INSENSITIVE  rs.afterLast(),rs.previous( )




參數2.(data一致度)
CONCUR_READ_ONLY,
CONCUR_UPDATEABLE
//也可不填但是 那就只能使用rs.next()

 








No comments:

Post a Comment