openServer(File file, String serverName) Opens an
JODBServer JODBServer with specified name
on the specified database file.
The serverName serves as server identity when multiple
servers (representing different db files) run on the same host.
openServer(String databaseFileName, String serverName) Opens an
JODBServer JODBServer with specified name
on the specified database file.
The serverName serves as server identity when multiple
servers (representing different db files) run on the same host.
Opens an
ObjectContainer ObjectContainer client and connects it to the specified server
The mode argument specifies the access mode
in which the container is to be opened. The permitted values and their
meanings are:
Value
Meaning
"r"
Open for reading only. Invoking any of the set()
methods of the resulting object will cause an
java.io.IOException to be thrown.
"rw"
Open for reading and writing.
Parameters: hostName - the host name of server (should comply with URI name specification) Parameters: serverName - optional server name (required when multiple servers run on the same host). null is acceptable value Parameters: mode - the access mode, as describedabove throws: IOException - exception: IllegalArgumentException - if the mode argument is not equalto one of "r", "rw", or serverName is null , or mode is null
Opens an
JODBServer JODBServer with specified name
on the specified database file.
The serverName serves as server identity when multiple
servers (representing different db files) run on the same host.
Parameters: file - the database file Parameters: serverName - the server name throws: IOException -
Opens an
JODBServer JODBServer with specified name
on the specified database file.
The serverName serves as server identity when multiple
servers (representing different db files) run on the same host.
Parameters: databaseFileName - the full path to the database file Parameters: serverName - the server name throws: IOException -