SqlObject.accessDatabase

Bool

Default: true

Auto-loading

When accessDatabase is true and the primary key attributes of the component are set, the component automatically calls its load() method the first time you read or set one of its non-key attributes. Example:
 customer = CUSTOMER()  // New instance of CUSTOMER table component 
 customer.id = "1234"   // sets value of primary key attribute

 logMessage "Customer Name=" +
 customer.name  // this triggers an implicit call to "load()"

Refer to the Using SQL Components section of Oracle BPM Studio Guide for more details about this auto-loading feature.

SQL components and instance variables

When accessDatabase is true and the component is used as a process instance variable, the Engine only persists (as part of the process instance state) the primary key attributes of the component.

Refer to the SQL Components as Instance Variables section on the Oracle BPM Studio Guide for more details about this feature.