Learn about privileges for accessing and executing Java classes.
- Access privileges – Like all Java classes in the database, classes containing JDBC statements can be accessed by any user if the GRANT EXECUTE statement has granted them privilege to execute the stored procedure that is acting as a wrapper for the Java method.
- Execution privileges – Java classes are executed with the privileges of the connection executing them. This behavior is different from that of stored procedures, which execute with the privileges of the owner.