hi, i implemented this to store some data on a recordstore
rs.setRecord(1, a, 0, length1);
rs.setRecord(2, b, 0, length2);
rs.setRecord(3, c, 0, length3);
i have ensured that they're all running well, al datas are stored, there are no null fields
however i encountered a problem in restoring the data
this is what i do:
id = enum.nextRecordId();
size = rs.getRecordSize(id);
data = new byte[size];
int i = rs.getRecord(id,data,0);
//processing the data
the problem is, while i got 3 recordstore fields, sometimes i can't get the recordstore id 2.
i did a debug, and on the first loop, i get the id 3, then retrieve the data. but on next enum.nextRecordId(), the result jumps into 1. the record id 2 is somehow skipped and unread.
anybody ever encountered the problem? any helps would be appreciated. thanks.