This discussion is archived
2 Replies Latest reply: Apr 14, 2012 4:53 AM by 930447 RSS

Berkeley DB Java Edition - multiple threads accessing database

930447 Newbie
Currently Being Moderated
Hi,

I would like to access (read & write) a Berkeley DB from multiple threads (all same process/jvm).

Should I use a single com.sleepycat.je.Database object for all threads, or should I create an instance for each?

Or is there any other way of doing it?

Thanks

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points