• Post Reply Bookmark Topic Watch Topic
  • New Topic

CachedRowSetImpl/Invalid cursor position ?  RSS feed

 
Miran Cvenkel
Ranch Hand
Posts: 208
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Any idea ?

EDIT:

http://buenetxea.googlecode.com/svn-history/r298/trunk/Buenetxea/src/buenetxea/db/CachedRowSetTableModel.java

* ResultSet rows and columns are counted from 1 and JTable rows and columns are
* counted from 0. When processing ResultSet rows or columns for use in a
* JTable, it is necessary to add 1 to the row or column number to manipulate
* the appropriate ResultSet column (i.e., JTable column 0 is ResultSet column 1
* and JTable row 0 is ResultSet row 1).


It seems



solves the problem.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!