fixup (Database - Java)

Runs the Fixup task on a database.

Note: This method is new with Release 6.5.

Defined in

Database

Syntax

public void fixup()
    throws NotesException
public void fixup(int options)
    throws NotesException

Parameter

int options

One or more of the following. Add options to combine them.

  • Database.FIXUP_INCREMENTAL (4) checks only documents since last Fixup
  • Database.FIXUP_NODELETE (16) prevents Fixup from deleting corrupted documents
  • Database.FIXUP_NOVIEWS (64) does not check views
  • Database.FIXUP_QUICK (2) checks documents more quickly but less thoroughly
  • Database.FIXUP_REVERT (32) reverts ID tables to the previous release format
  • Database.FIXUP_TXLOGGED (8) includes databases enabled for transaction logging
  • Database.FIXUP_VERIFY (1) makes no modifications

Usage

This method closes the target database, runs the Fixup task on it, waits for the Fixup task to complete, and reopens the database for program use.

Example