@Test
    void testCursorInsideCursorLoop() {
        putValues(basicLmdbDb3, false, Map.of(
                1, "Jan",
                2, "Feb",
                3, "Mar",
                4, "Apr",
                5, "May",
                6, "Jun"));

        putValues(basicLmdbDb2, false, Map.of(
                "Jan", "January",
                "Feb", "February",
                "Mar", "March",
                "Apr", "April",
                "May", "May",
                "Jun", "June"));

        lmdbEnv.doWithReadTxn(readTxn -> {
            basicLmdbDb3.forEachEntry(readTxn, entry -> {
                final Integer monthNum = entry.getKey();
                final String shortForm = entry.getValue();

                LOGGER.info("monthNum: {}, shortForm: {}", monthNum, shortForm);

                basicLmdbDb2.forEachEntry(readTxn, KeyRange.atLeast(shortForm), entry2 -> {
                    final String shortForm2 = entry2.getKey();
                    final String longForm = entry2.getValue();
                    LOGGER.info("  shortForm2: {}, longForm: {}", shortForm2, longForm);
                });
            });
        });
    }
Verify that you can iterate over a cursor on one db while inside a cursor loop on another db
stroom-lmdb/src/test/java/stroom/lmdb/TestBasicLmdbDb.java