Originally posted by Kelly Adams:
Hi,
Never mind. I found the problem. Basically there is a problem in Sun's ToolKit 2.0: when you call nextRecordID() for RecordStore, it starts from the high index and moves to low index (1), while IBM's WSDD starts from the low index(1), moves to high index. That causes a big confusion.
I do not think it is a "problem" in WTK. If I remember correctly, the specification says that
you should not assume any particular order for the "nextRecordID()" or other similar methods to tranverse a record store. It is all implementation dependent. It could start from the middle and goes to both ends or give you odd number IDs first.