TYPE_SCROLL_INSENSITIVE 和 TYPE_SCROLL_SENSITIVE 有何区别?

lonefox 2003-10-17 09:10:12
急!
...全文
61 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
realzealy 2003-10-17
  • 打赏
  • 举报
回复
前一个参数是当别人对数据库改动时,你当时的结果集不会马上有变化,后一个是会产生变化
lonefox 2003-10-17
  • 打赏
  • 举报
回复
java.sql.ResultSet
willyzeng 2003-10-17
  • 打赏
  • 举报
回复
TYPE_SCROLL_INSENSITIVE ResultSet is unaware of in-place edits made to modifiable instances.
TYPE_SCROLL_SENSITIVE, on the other hand, means that you can see changes made to the results if you scroll back to the modified row at a later time.
You should keep in mind that this distinction remains only while you leave the result set open.
jscsqb 2003-10-17
  • 打赏
  • 举报
回复
什么类的?

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧