Here is an example from oracle.
Retrieve all records from Berkeley DB in java
-
24-03-2022 - |
Question
Is there an easy way to get all key/value pairs in a given database? I read somewhere that I can use a Cursor but I couldn't find a real example of it. Thanks!
Solution
OTHER TIPS
You can iterate the Cursor and add all key/value to a Map
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow