O'Reilly logo

Berkeley DB by Sleepycat™ Software, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DbEnv.open

						import com.sleepycat.db.*;
						import java.io.FileNotFoundException;
						public void open(String db_home, int flags, int mode)
						throws DbException, FileNotFoundException;
					

Description

The DbEnv.open method is the interface for opening the Berkeley DB environment. It provides a structure for creating a consistent environment for processes using one or more of the features of Berkeley DB.

The db_home argument to DbEnv.open (and filename resolution in general) is described in “Berkeley DB File Naming.”

The flags argument specifies the subsystems that are initialized and how the application’s environment affects Berkeley DB file naming, among other things.

The flags value must be set to 0 or by bitwise inclusively OR’ing together one or more ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required