Product Information > JADE Object Manager Guide > Chapter 3 - JADE Application Programming Interface (API) > pDbUsage

pDbUsage

The pDbUsage parameter specifies the database usage. The database usage constants and their integer values are listed in the following table.

Constant Value Description
DB_UPDATE 0 Enables applications to update the database.
DB_READ_ONLY 1 Specifies that your applications have read-only access to the database.
DB_NO_AUDIT 2 Specifies that the recovery log is not maintained. This usage can result in better performance, but if an abnormal termination occurs and the database is not audited, recovery is not possible and the database must be restored from backup.
    Use the shared access mode to specify multiple users with no‑audit usage. However, if any one application or shared‑access user opens the database in no‑audit mode, all users must request no‑audit usage, or a conflicts exception is raised.
DB_ODBC_LOGIN 3 Specifies that the login is from the JADE ODBC driver (that is, it is read‑only). This value is for internal use only.