Cloudscape Properties,
Page 24 of 44


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

cloudscape.language.triggerMaximumRecursionLevel

Function

Specifies the maximum recursion level for trigger firing.

It is possible for one trigger to cause another trigger to fire, and thus it is possible for triggers to recurse infinitely. If the trigger recursion level exceeds the maximum recursion level, an exception is raised and the statement that caused the trigger to fire is rolled back.

A value of -1 means that there are no limits to recursion.

A value of 0 means that no triggers will ever fire.

NOTE: When the maxmum recursion level is reached when a trigger is fired, Cloudscape throws an SQLException of SQLState X0Y73.

NEW: The cloudscape.language.triggerMaximumRecursionLevel property is new in Version 3.0.

Syntax

cloudscape.language.triggerMaximumRecursionLevel=integerValue

Default

16.

Minimum Value

-1 (no limit; see notes above).

Example

-- database-wide property
CALL PropertyInfo.setDatabaseProperty(
    'cloudscape.language.triggerMaximumRecursionLevel',
    '10')
-- publishing a database-wide property
CREATE PUBLICATION . . .
ADD TARGET DATABASE PROPERTY
cloudscape.language.triggerMaximumRecursionLevel=
    '10'

Scope

database-wide (publishable)

system-wide

Dynamic or Static

Dynamic; the change takes effect immediately. For information about dynamic changes to properties, see “Dynamic or Static Changes to Properties”.

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.