cursor = database.openCursor(BDbHelper.getTransaction(), cursorConfig);
DatabaseEntry keyEntry = new DatabaseEntry();
DatabaseEntry valueEntry = new DatabaseEntry();
OperationStatus status = cursor.getFirst(keyEntry, valueEntry, LockMode.DEFAULT);
while (status == OperationStatus.SUCCESS) {
ActiveMQXid xid = extractXid(keyEntry);
Transaction transaction = extractTransaction(valueEntry);
transactionManager.loadTransaction(xid, transaction);
status = cursor.getNext(keyEntry, valueEntry, LockMode.DEFAULT);
}
if (status != OperationStatus.NOTFOUND) {