Oracle INITJVMAUX Version 21c |
---|
General Information | ||||||||||||||||||||||||||||
Library Note |
|
|||||||||||||||||||||||||||
Purpose | Support package for conditional execution when executing JVM scripts. Examining undocumented packages is always tricky but they often lead to a better understanding of how things work and where to look when triaging things that don't. This package provides many indications that it has been deprecated for decades. |
|||||||||||||||||||||||||||
AUTHID | CURRENT_USER | |||||||||||||||||||||||||||
Dependencies |
|
|||||||||||||||||||||||||||
Documented | No | |||||||||||||||||||||||||||
First Available | Not known | |||||||||||||||||||||||||||
Security Model | Owned by SYS with no privileges granted | |||||||||||||||||||||||||||
Source | {ORACLE_HOME}/rdbms/admininitjvma,sql | |||||||||||||||||||||||||||
Subprograms |
|
|||||||||||||||||||||||||||
ABORT_MESSAGE | ||||||||||||||||||||||||||||
The code says "DBMS_OUPUT a highlighted message" but the description seems misleading It would be easy enough to write your own with the input as an array indexed by binary integer to handle n messages |
initjvmaux.abort_message( |
|||||||||||||||||||||||||||
exec initjvmaux.abort_message('Why?', 'Why Not?'); |
||||||||||||||||||||||||||||
ALTER_IF_NOT_PRESENT | ||||||||||||||||||||||||||||
Alter an object only if the alteration isn't already there | initjvmaux.alter_if_not_present(command IN VARCHAR2); |
|||||||||||||||||||||||||||
CREATE TABLE t ( |
||||||||||||||||||||||||||||
CHECK_SIZES_FOR_CJS | ||||||||||||||||||||||||||||
Verify that pool sizes and tablespace are large enough for create java system | initjvmaux.check_sizes_for_cjs( |
|||||||||||||||||||||||||||
exec initjvmaux.check_sizes_for_cjs; |
||||||||||||||||||||||||||||
COMPARE_RELEASES | ||||||||||||||||||||||||||||
Returns an indication of whether the first argument is older than the second | initjvmaux.compare_releases( |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
CREATE_IF_NOT_PRESENT | ||||||||||||||||||||||||||||
Create an object only if it does not already exist | initjvmaux.create_if_not_present(command IN VARCHAR2); |
|||||||||||||||||||||||||||
CREATE TABLE zzyzx ( |
||||||||||||||||||||||||||||
CREATE_PROPERTY_DEFS_TABLE | ||||||||||||||||||||||||||||
Create the infrastructure for persistent System.properties: Can only be run as SYS Output, at right, formatted for clarity The "missing" semicolons" are not in the procedure's output |
initjvmaux.create_property_defs_table; |
|||||||||||||||||||||||||||
exec initjvmaux.create_property_defs_table; |
||||||||||||||||||||||||||||
CURRENTEXECID | ||||||||||||||||||||||||||||
Return the unique id for the current session that is used to indicate what session last did startaction | initjvmaux.currentExecId RETURN VARCHAR2; |
|||||||||||||||||||||||||||
SELECT initjvmaux.currentExecId |
||||||||||||||||||||||||||||
CURRENT_RELEASE_VERSION | ||||||||||||||||||||||||||||
Returns the version value from v$instance | initjvmaux.current_release_version RETURN VARCHAR2; |
|||||||||||||||||||||||||||
SELECT initjvmaux.current_release_version |
||||||||||||||||||||||||||||
DEBUG_OUTPUT | ||||||||||||||||||||||||||||
Input a debug output line | initjvmaux.debug_output(line IN VARCHAR2); |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
DROP_INVALID_SROS | ||||||||||||||||||||||||||||
Drop invalid SROS during upgrade or downgrade | initjvmaux.drop_invalid_sros; |
|||||||||||||||||||||||||||
exec initjvmaux.drop_invalid_sros; |
||||||||||||||||||||||||||||
DROP_SROS | ||||||||||||||||||||||||||||
Drop SROS during upgrade or downgrade | initjvmaux.drop_sros; |
|||||||||||||||||||||||||||
exec initjvmaux.drop_sros; |
||||||||||||||||||||||||||||
DROP_SYS_CLASS | ||||||||||||||||||||||||||||
Drop the (long)named class from SYS, along with any public synonym and MD5 table entry Code at right reformatted for clarity. |
initjvmaux.drop_sys_class(name IN VARCHAR2); |
|||||||||||||||||||||||||||
-- found i $ORACLE_HOME/rdbms/admin/javdbmig.sql |
||||||||||||||||||||||||||||
DROP_SYS_RESOURCE | ||||||||||||||||||||||||||||
Drop the (long)named resource from SYS, along with any MD5 table entry | initjvmaux.drop_sys_resource(name IN VARCHAR2); |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
DRP | ||||||||||||||||||||||||||||
EXEC but ignores ORA-4080, -1418, -1919, -942, -1432, -4043, -1918, -2289, -6550, -1598, -1534, and -1434 Compare the demo, at right, to the demo for EXEC |
initjvmaux.drp(x IN VARCHAR2); |
|||||||||||||||||||||||||||
BEGIN |
||||||||||||||||||||||||||||
ENDACTION | ||||||||||||||||||||||||||||
Convenience wrapper for endaction_outarg that ignores the return value | initjvmaux.endAction; |
|||||||||||||||||||||||||||
exec initjvmaux.endAction; |
||||||||||||||||||||||||||||
ENDACTION_ASLOAD | ||||||||||||||||||||||||||||
endaction and if not punting, set last action to 'LOAD' | initjvmaux.endAction_asLoad; |
|||||||||||||||||||||||||||
exec initjvmaux.endAction_asLoad; |
||||||||||||||||||||||||||||
ENDACTION_OUTARG | ||||||||||||||||||||||||||||
Declares the end of current action and returns (in the OUT arg) current action if not punting else 'PUNT' | initjvmaux.endaction_outArg(action OUT VARCHAR2); |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
ENDSTEP | ||||||||||||||||||||||||||||
Indicate the current step completed successfully | initjvmaux.endStep; |
|||||||||||||||||||||||||||
exec initjvmaux.endStep; |
||||||||||||||||||||||||||||
EXEC | ||||||||||||||||||||||||||||
Wrapper for EXECUTE IMMEDIATE but only executes if the user is SYS Compare the demo, at right, to the demo for DRP |
initjvmaux.exec(x IN VARCHAR2); |
|||||||||||||||||||||||||||
exec initjvmaux.exec('DROP TABLE zzyzx'); |
||||||||||||||||||||||||||||
JVMUSCRIPT | ||||||||||||||||||||||||||||
Returns the jvmuxxx script name if it is appropriate else jvmempty.sql | initjvmaux.jvmuScript(patchset IN VARCHAR2) RETURN VARCHAR2; |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
JVMVERSION | ||||||||||||||||||||||||||||
Returns the version value for JAVAVM from dba_registry | initjvmaux.jvmVersion RETURN VARCHAR2; |
|||||||||||||||||||||||||||
SELECT initjvmaux.jvmVersion |
||||||||||||||||||||||||||||
REGISTRYSTATUS | ||||||||||||||||||||||||||||
Get the value of status from dba_registry for JAVAVM | initjvmaux.registryStatus RETURN VARCHAR2; |
|||||||||||||||||||||||||||
SELECT initjvmaux.registryStatus |
||||||||||||||||||||||||||||
ROLLBACKCLEANUP | ||||||||||||||||||||||||||||
Deallocate any rollback segment allocated by rollbacksetup | initjvmaux.rollbackCleanup; |
|||||||||||||||||||||||||||
exec initjvmaux.rollbackCleanup; |
||||||||||||||||||||||||||||
ROLLBACKSET | ||||||||||||||||||||||||||||
Make the rollback segment determined by rollbacksetup, if any, be in use for the current transaction | initjvmaux.rollbackSet; |
|||||||||||||||||||||||||||
exec initjvmaux.rollbackSet; |
||||||||||||||||||||||||||||
ROLLBACKSETUP | ||||||||||||||||||||||||||||
If possible ensure that there is a large enough rollback segment available and where appropriate make it so that rollbackset will make that segment be in use for the current transaction | initjvmaux.rollbackSetup; |
|||||||||||||||||||||||||||
exec initjvmaux.rollbackSetup; |
||||||||||||||||||||||||||||
SETLOADED | ||||||||||||||||||||||||||||
Make a dbms_registry entry for status loaded ... takes several seconds to execute | initjvmaux.setLoaded; |
|||||||||||||||||||||||||||
exec initjvmaux.setLoaded; |
||||||||||||||||||||||||||||
SETLOADING | ||||||||||||||||||||||||||||
Make a dbms_registry entry for status loading ... takes several seconds to execute | initjvmaux.setLoading; |
|||||||||||||||||||||||||||
exec initjvmaux.setLoading; |
||||||||||||||||||||||||||||
SET_ALT_TABLESPACE_LIMIT | ||||||||||||||||||||||||||||
Undocumented | initjvmaux.set_alt_tablespace_limit(l IN NUMBER); |
|||||||||||||||||||||||||||
exec initjvmaux.set_alt_tablespace_limit(1); |
||||||||||||||||||||||||||||
SET_DEBUG_OUTPUT_OFF | ||||||||||||||||||||||||||||
Disables debug output | initjvmaux.set_debug_output_off; |
|||||||||||||||||||||||||||
exec initjvmaux.set_debug_output_off; |
||||||||||||||||||||||||||||
SET_DEBUG_OUTPUT_ON | ||||||||||||||||||||||||||||
Enables debug output | initjvmaux.set_debug_output_on; |
|||||||||||||||||||||||||||
exec initjvmaux.set_debug_output_on; |
||||||||||||||||||||||||||||
STARTACTION | ||||||||||||||||||||||||||||
Convenience wrapper for startaction_outarg which ignores return value and is callable with a literal string | initjvmaux.startAction(newaction IN VARCHAR2); |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
STARTACTION_OUTARG | ||||||||||||||||||||||||||||
Declare intention to start a given action returns requested action, if allowed, else conflicting pending action | initjvmaux.startAction_outRrg(newaction IN OUT VARCHAR2); |
|||||||||||||||||||||||||||
TBD | ||||||||||||||||||||||||||||
STARTSTEP | ||||||||||||||||||||||||||||
Indicate start of a script step, returns TRUE if step should be attempted | initjvmaux.startStep(newstep IN VARCHAR2) RETURN BOOLEAN; |
|||||||||||||||||||||||||||
-- found in $ORACLE_HOME/rdbms/admin/inijvm5.sql |
||||||||||||||||||||||||||||
STARTUP_PENDING_P | ||||||||||||||||||||||||||||
See if the startup_required bit is set in registry the registry for JAVAVM | initjvmaux.startup_pending_p RETURN BOOLEAN; |
|||||||||||||||||||||||||||
BEGIN |
||||||||||||||||||||||||||||
VALIDATE_JAVAVM | ||||||||||||||||||||||||||||
Validation procedure for dbms_registry | initjvmaux.validate_javavm; |
|||||||||||||||||||||||||||
exec initjvmaux.validate_javavm; |
This site is maintained by Dan Morgan. Last Updated: | This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved | |||||||||
|
||||||||||