Deprecated API

Deprecated Methods
com.sleepycat.je.dbi.DbTree.truncate(Locker, DatabaseImpl)
          This method used by Database.truncate() 
com.sleepycat.je.dbi.EnvironmentImpl.truncate(Locker, DatabaseImpl)
          This supports Database.truncate(), which is deprecated. 
com.sleepycat.je.Database.truncate(Transaction, boolean)
          It has not been possible to implement this method with correct transactional semantics without incurring a performance penalty on all Database operations. Truncate functionality has been moved to Environment.truncateDatabase(), which requires that all Database handles on the database are closed before the truncate operation can execute. 
 



Copyright 2004 Sleepycat, Inc. All Rights Reserved.