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)
This method is not available on a Compact JADE node, where it would result in a
An exception is raised if the database file is locked for reorganization, more than one class is mapped to the file, or the file contains objects.