June 2001
Intermediate to advanced
688 pages
19h 18m
English
import com.sleepycat.db.*; public class DbEnv extends Object { public DbEnv(int flags); ... }
This manual page describes the specific details of the DbEnv class, which is the center of the Berkeley DB environment.
The following flags value may be specified:
Db.DB_CLIENT Create a client environment to connect to a server.
The Db.DB_CLIENT flag indicates to the system that this environment is remote on a server. The use of this flag causes the environment methods to use functions that call a server instead of local functions. Prior to making any environment or database method calls, the application must call the DbEnv.set_server function to establish the connection to the server.