open (Database - Java)

Opens a database.

Defined in

Database

Syntax

public boolean open()
    throws NotesException

Return value

boolean
  • true if the database exists and is opened
  • false if no database with this name exists

Usage

A database must be open to use the Database properties and methods with some exceptions. Most methods that access a database open it, but some do not. See isOpen for details.

Usage

An error is returned if the user does not have access rights to the database or server.

A Java application running on the same machine as a Domino® server cannot open a local database from a local session. Use a remote (IIOP) session to access the database.

Example