Deprecated List (Oracle - Berkeley DB Java API)
Date: 2015-06-18

# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods

- Deprecated Fields
  Field and Description
  com.sleepycat.db.CursorConfig.DEGREE_2 This has been replaced by `CursorConfig.READ_COMMITTED` to conform to ANSI database isolation terminology.
  com.sleepycat.db.LockMode.DEGREE_2 This has been replaced by `LockMode.READ_COMMITTED` to conform to ANSI database isolation terminology.
  com.sleepycat.db.CursorConfig.DIRTY_READ This has been replaced by `CursorConfig.READ_UNCOMMITTED` to conform to ANSI database isolation terminology.
  com.sleepycat.db.LockMode.DIRTY_READ This has been replaced by `LockMode.READ_UNCOMMITTED` to conform to ANSI database isolation terminology.

- Deprecated Methods
  Method and Description
  com.sleepycat.db.EnvironmentConfig.addDataDir(String) replaced by `EnvironmentConfig.addDataDir(java.io.File)`
  com.sleepycat.persist.model.EntityModel.classForName(String) use `EntityModel.resolveClass(java.lang.String)` instead. This method does not use the environment's ClassLoader property.
  com.sleepycat.persist.StoreConfig.cloneConfig() As of JE 4.0.13, replaced by `StoreConfig.clone()`.
  com.sleepycat.persist.evolve.EvolveConfig.cloneConfig() As of JE 4.0.13, replaced by `EvolveConfig.clone()`.
  com.sleepycat.db.CursorConfig.getDegree2() This has been replaced by `CursorConfig.getReadCommitted()` to conform to ANSI database isolation terminology.
  com.sleepycat.db.TransactionConfig.getDegree2() This has been replaced by `TransactionConfig.getReadCommitted()` to conform to ANSI database isolation terminology.
  com.sleepycat.util.ExceptionWrapper.getDetail() replaced by `ExceptionWrapper.getCause()`.
  com.sleepycat.util.IOExceptionWrapper.getDetail() replaced by `IOExceptionWrapper.getCause()`.
  com.sleepycat.util.RuntimeExceptionWrapper.getDetail() replaced by `Throwable.getCause()`.
  com.sleepycat.db.CursorConfig.getDirtyRead() This has been replaced by `CursorConfig.getReadUncommitted()` to conform to ANSI database isolation terminology.
  com.sleepycat.db.DatabaseConfig.getDirtyRead() This has been replaced by `DatabaseConfig.getReadUncommitted()` to conform to ANSI database isolation terminology.
  com.sleepycat.db.TransactionConfig.getDirtyRead() This has been replaced by `TransactionConfig.getReadUncommitted()` to conform to ANSI database isolation terminology.
  com.sleepycat.db.EnvironmentConfig.getTestAndSetSpins() replaced by `EnvironmentConfig.getMutexTestAndSetSpins()`
  com.sleepycat.db.EnvironmentConfig.getVerboseDeadlock() replaced by `EnvironmentConfig.getVerbose(com.sleepycat.db.VerboseConfig)`
  com.sleepycat.db.EnvironmentConfig.getVerboseRecovery() replaced by `EnvironmentConfig.getVerbose(com.sleepycat.db.VerboseConfig)`
  com.sleepycat.db.EnvironmentConfig.getVerboseRegister() replaced by `EnvironmentConfig.getVerbose(com.sleepycat.db.VerboseConfig)`
  com.sleepycat.db.EnvironmentConfig.getVerboseReplication() replaced by `EnvironmentConfig.getVerbose(com.sleepycat.db.VerboseConfig)`
  com.sleepycat.db.EnvironmentConfig.getVerboseWaitsFor() replaced by `EnvironmentConfig.getVerbose(com.sleepycat.db.VerboseConfig)`
  com.sleepycat.db.ReplicationManagerSiteInfo.isConnected() Replaced by `ReplicationManagerSiteInfo.getConnectionStatus()`
  com.sleepycat.collections.StoredCollection.iterator(boolean) Please use `StoredCollection.storedIterator()` or `StoredCollection.storedIterator(boolean)` instead. Because the iterator returned must be closed, the method name `iterator` is confusing since standard Java iterators do not need to be closed.
  com.sleepycat.bind.tuple.TupleBase.newOutput() replaced by `TupleBase.getTupleOutput(E)`
  com.sleepycat.bind.tuple.TupleBase.newOutput(byte[]) replaced by `TupleBase.getTupleOutput(E)`
  com.sleepycat.db.CursorConfig.setDegree2(boolean) This has been replaced by `CursorConfig.setReadCommitted(boolean)` to conform to ANSI database isolation terminology.
  com.sleepycat.db.TransactionConfig.setDegree2(boolean) This has been replaced by `TransactionConfig.setReadCommitted(boolean)` to conform to ANSI database isolation terminology.
  com.sleepycat.db.CursorConfig.setDirtyRead(boolean) This has been replaced by `CursorConfig.setReadUncommitted(boolean)` to conform to ANSI database isolation terminology.
  com.sleepycat.db.DatabaseConfig.setDirtyRead(boolean) This has been replaced by `DatabaseConfig.setReadUncommitted(boolean)` to conform to ANSI database isolation terminology.
  com.sleepycat.db.TransactionConfig.setDirtyRead(boolean) This has been replaced by `TransactionConfig.setReadUncommitted(boolean)` to conform to ANSI database isolation terminology.
  com.sleepycat.db.EnvironmentConfig.setTemporaryDirectory(String) replaced by `EnvironmentConfig.setTemporaryDirectory(java.io.File)`
  com.sleepycat.db.EnvironmentConfig.setTestAndSetSpins(int) replaced by `EnvironmentConfig.setMutexTestAndSetSpins(int)`
  com.sleepycat.db.EnvironmentConfig.setVerboseDeadlock(boolean) replaced by `EnvironmentConfig.setVerbose(com.sleepycat.db.VerboseConfig, boolean)`
  com.sleepycat.db.EnvironmentConfig.setVerboseRecovery(boolean) replaced by `EnvironmentConfig.setVerbose(com.sleepycat.db.VerboseConfig, boolean)`
  com.sleepycat.db.EnvironmentConfig.setVerboseRegister(boolean) replaced by `EnvironmentConfig.setVerbose(com.sleepycat.db.VerboseConfig, boolean)`
  com.sleepycat.db.EnvironmentConfig.setVerboseReplication(boolean) replaced by `EnvironmentConfig.setVerbose(com.sleepycat.db.VerboseConfig, boolean)`
  com.sleepycat.db.EnvironmentConfig.setVerboseWaitsFor(boolean) replaced by `EnvironmentConfig.setVerbose(com.sleepycat.db.VerboseConfig, boolean)`

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.