Note
For V4.4.0, this parameter is available starting with V4.4.0.
Description
ob_enable_java_udf specifies whether to enable the Java UDF feature.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| 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. |
Considerations
OceanBase Cloud does not support the Java UDF feature. In addition, since Java UDF depends on the JVM in OceanBase Database, you must enable the ob_enable_java_env parameter and configure the JVM environment.
Examples
Enable the Java UDF feature
obclient> ALTER SYSTEM SET ob_enable_java_udf = TRUE;Disable the Java UDF feature
obclient> ALTER SYSTEM SET ob_enable_java_udf = FALSE;