Dataprovider cursor position

I tried to update a row based on the cursor position, but I got confused.

String rkid = "" + 5;

RowKey rowkey = new RowKey(rkid);

info("rowkey: " + rowkey.getRowId()); 5

abcDataProvider.setCursorRow(rowkey);

RowKey rk = abcDataProvider.getCursorRow();

info("rk: " + rk.getRowId());0

I am just wondering, why I couldn't set the cursorRow to 5? Anything wrong with my syntax?

[423 byte] By [Mountainera] at [2007-11-27 3:17:01]
# 1
try RowKey rowkey = abcDataProvider.getRowKey("5");abcDataProvider.setCursorRow(rowkey);
jetsonsa at 2007-7-12 8:19:36 > top of Java-index,Development Tools,Java Tools...