View the Exhibit and examine the output.
Which statement is an inference from the output?
A.
The class file is pinned into the Java pool.
B.
The class file has been loaded into the shared library.
C.
Java class methods in the Java class file have been published.
D.
The loadjava command has been executed to load the Java source and class files.
http://docs.oracle.com/cd/E11882_01/java.112/e16548/ssid.htm#JJDBC28261
C , D
HY GUYS
WY NOT C TOO ?
ok, to publish is useful only to execute procedure or functions “wrapper”
to load source java programse and automaticlly create it only need loadjava script
where is the java class file loaded? Not loaded into share library, not loaded into java pool, then where?
After load java, java class/source is just one schema object
/*Query the Java objects in the schema*/
SELECT object_name, object_type
FROM USER_OBJECTS
WHERE TRUNC(created)=TRUNC(SYSDATE)
order by timestamp;
OBJECT_NAME OBJECT_TYPE
—————————————- ——————-
SYS_LOB0000080347C00002$$ LOB
CREATE$JAVA$LOB$TABLE TABLE
SYS_C0014189 INDEX
JAVA$OPTIONS TABLE
Compute JAVA SOURCE
Compute JAVA CLASS
question: how to view java source in user_souces? type=’java class’?