Overview
ob_enable_java_env is used to enable Java environment access for the SDK (Java SDK) of external tables.
Privilege requirements
Query parameters
The
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview can be used by both the sys tenant and all user tenants to query this parameter.Modify parameters
Only the sys tenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | BOOL |
| Default Value | false |
| Value range | true/false |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
After setting this parameter to true, external tables using the Java SDK can be read from and written to properly.
ALTER SYSTEM SET ob_enable_java_env=true;