setPartitioned

setPartitioned(onOff: Boolean) updating;

The setPartitioned method of the DbFile class changes the partitioned attribute of an empty database file (that is, a non‑instantiated database file), as shown in the following example.

begin
    beginTransaction;
    Customer.getDbFile.setPartitioned(true);
    commitTransaction;
end;

Converting a non‑partitioned file that contains objects to a partitioned format is accomplished using a file‑based reorganization operation initiated by the Jade Database Administration utility (jdbadmin) MakePartitioned action.

An exception is raised if the database file is locked for reorganization or the file contains objects.