Inherits com.dbSpaces.jdb.Base.
Public Member Functions | |
| Environment () | |
| Connection | createConnection () throws DatabaseException |
| String | getProgramName () |
| boolean | isExceptionsEnabled () |
| void | setProgramName (String name) |
The Environment object holds environment information for the database client The Environment object is the main object in the client database API and is used to create a Connection object that allows you to connect to the database server.
A DatabaseException will be thrown if a database error occurs and exceptions are enabled. If exceptions are not enabled the following error methods can be used to get information about the error;
| com.dbSpaces.jdb.Environment.Environment | ( | ) |
Default constructor.
| Connection com.dbSpaces.jdb.Environment.createConnection | ( | ) | throws DatabaseException |
Create a new Connection object.

| String com.dbSpaces.jdb.Environment.getProgramName | ( | ) |
Get the program name.
| boolean com.dbSpaces.jdb.Environment.isExceptionsEnabled | ( | ) |
Check if exceptions are enabled.
TRUE if exceptions are enabled; FALSE if otherwise. | void com.dbSpaces.jdb.Environment.setProgramName | ( | String | name | ) |
Set the program name to identify the connection by in the server.
| name | The program name. |