Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 30. Java API > DbEnv.set_data_dir

DbEnv.set_data_dir

						import com.sleepycat.db.*;
						public void set_data_dir(String dir)
						throws DbException;
					

Description

Set the path of a directory to be used as the location of the access method database files. Paths specified to the Db.open function will be searched relative to this path. Paths set using this interface are additive, and specifying more than one will result in each specified directory being searched for database files. If any directories are specified, created database files will always be created in the first path specified.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial