Berkeley DB Java Edition 1.5.0 Change Log

Changes since Beta Release 1.4.10.

For additional details, please see the documentation and Release Notes included in your download package or on our website.

Log File On-Disk Format Changes:

None

New Features:

  1. Add EnvironmentConfig.setMutableConfig() to dynamically enable and disable the four daemon threads. [#9886]
  2. Add primitive binding classes that allow conversion of true primitives to and from DatabaseEntry objects. [#10138]
  3. Tuple bindings now support null strings. [#10360]

General Environment Changes:

  1. Add fairLatches performance parameter. [#10169]
  2. Fix a bug where a Null Pointer Exception could get raised if an environment was opened read only and a split occurred (perhaps during recovery), and then the dirty node was evicted and re-faulted back in. [#10323]
  3. Change default cache size to be a percentage of the maximum memory available to the JVM. [#10351]
  4. Reduce memory footprint for locks, to reduce overall memory consumption. [#10324]

Btree Access Method Changes:

  1. Add an optimization to better fill nodes during insertion of ordered data. [#10363]

API Changes:

  1. Change DbLoad.setInputStream(InputStream) to DbLoad.setInputReader(BufferedReader) to support multiple databases.
  2. Change Cursor.dup() to allow duplicating an uninitialized cursor.
  3. Add EnvironmentConfig.setMutableConfig to dynamically enable and disable the four daemon threads. [#9886]
  4. Add primitive binding classes that allow conversion of true primitives to and from DatabaseEntry objects. [#10138]
  5. Fix a bug where configuration time intervals specified between 1 and 999 was treated as zero. They are now treated as one millisecond. [#10279]
  6. Binding API methods are no longer declared to throw IOException. [#10221]

Utility Changes:

None.

Configuration, Documentation, and Build Changes:

None

In-Memory Replay Banner