Cloudscape Properties
Page 21 of 47

cloudscape.language.preloadClasses

Function

Specifies whether Cloudscape should synchronously compile and execute a system-configured query in order to preload compilation classes at database bootup. Setting this property to true means that boot time is slower, but the compilation time of the first query executed by the user is much faster.

A database typically boots when you first connect to it. Databases can also boot at startup; see cloudscape.system.bootAll.

Example

cloudscape.language.preloadClasses=true

-- database-wide property
CALL PropertyInfo.setDatabaseProperty(
    'cloudscape.language.preloadClasses', 'true')

-- publishing a database-wide property
CREATE PUBLICATION APub
ADD TARGET DATABASE PROPERTY
cloudscape.language.preloadClasses=
    'true'

Default

False.

Scope

system-wide

database-wide (publishable)

Dynamic or Static

This property is dynamic; if you change it while Cloudscape is running, the change takes effect immediately. For information about dynamic changes to properties, see Dynamic or Static Changes to Properties.