Note
This parameter is available starting with V4.3.5 BP1.
Description
ob_enable_java_env specifies whether to enable the Java environment for external tables to access the Java SDK.
Privilege requirements
Query the parameter
The sys tenant and all user tenants can use the
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the sys tenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | BOOL |
| Default value | false |
| Value range | true/false |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
After you set this parameter to true, you can use the Java SDK to read from and write to external tables.
ALTER SYSTEM SET ob_enable_java_env=true;