Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\sqlj\lib\oracle\jpub\reflect\Client.class
?? .# p q ? ? ? ? ?! ?" #$ %&'()*+,+- #./+0)0 #123 4&56768696:6;60< =>6? ?@A +BC -D -E D E DFG 4HIJ 7 ?K 7L 7E pMN pO PQ 7R #Q SQ TQ UQ =Q VQ WQ pX ?YZ ?[ ?\ ?] ?^_ ?`abcdefghij Zk Yl Ym Y0n _o ap aq a0 _r ?stuv wx yz{ |}~?? ???? 7??? w? ????????????????? w? ? 4????? 7???? q??? ?? ?? ?? w?? ?????? ??? ??? ?????? ??? 0? y?? sysPriv Ljava/lang/Boolean; class$oracle$jpub$reflect$Client Ljava/lang/Class; Synthetic <init> ()V Code LineNumberTable LocalVariableTable this Loracle/jpub/reflect/Client; invoke r(Ljava/sql/Connection;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; conn Ljava/sql/Connection; klass Ljava/lang/String; name sig [Ljava/lang/Class; args [Ljava/lang/Object; Exceptions ?(Ljava/sql/Connection;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; handle Ljava/lang/Long; ctx !Lsqlj/runtime/ref/DefaultContext; ret Ljava/lang/Object; ~(Lsqlj/runtime/ref/DefaultContext;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; ?(Lsqlj/runtime/ref/DefaultContext;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; ?(Ljava/sql/Connection;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; ?(Lsqlj/runtime/ref/DefaultContext;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object; e Ljava/lang/Exception; rs Ljava/sql/ResultSet; stmt Ljava/sql/Statement; ca [B _ Ljava/sql/CallableStatement; ba o ioe Ljava/io/IOException; cnf "Ljava/lang/ClassNotFoundException; Ljava/sql/SQLException; evaluate R(Lsqlj/runtime/ref/DefaultContext;Loracle/jpub/reflect/RObject;)Ljava/lang/Object; ro Loracle/jpub/reflect/RObject; getSignature 1([Loracle/jpub/reflect/RClass;)Ljava/lang/String; i I [Loracle/jpub/reflect/RClass; res Ljava/lang/StringBuffer; &([Ljava/lang/Class;)Ljava/lang/String; c '([Ljava/lang/String;)Ljava/lang/String; [Ljava/lang/String; deserialize ([B)Ljava/lang/Object; ois Ljava/io/ObjectInputStream; serialize (Ljava/lang/Object;)[B bos Ljava/io/ByteArrayOutputStream; oos Ljava/io/ObjectOutputStream; main ([Ljava/lang/String;)V -Ljava/lang/reflect/InvocationTargetException; t Ljava/lang/Throwable; Loracle/jpub/reflect/RClass; m Loracle/jpub/reflect/RMethod; r tmp argv method sigString oa debug_internal ()Z class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 x0 <clinit> SourceFile Client.java? java/lang/ClassNotFoundException java/lang/NoClassDefFoundError?? ?? ? ? ? ? sqlj/runtime/ref/DefaultContext ?? ? ??? ? ? ? ? ? ? ? ??? ?????? +select count(*) into :tmp from java$policy$???????? ? java/lang/Exception? ?? java/sql/SQLException 4Cannot invoke a stored procedure with SYS privileges 5BEGIN :1 := SYS.SQLJUTL2.INVOKE(:2, :3, :4, :5); END;????????????? 9BEGIN :1 := SYS.SQLJUTL2.INVOKE(:2, :3, :4, :5, :6); END;????? ? ? 'oracle/jpub/reflect/ServerSideException?? java/io/IOException? ??? +BEGIN :1 := SYS.SQLJUTL2.EVALUATE(:2); END; +java/lang/reflect/InvocationTargetException ?? java/lang/StringBuffer????? [???? ???????????? []???? ? void Void boolean byte short int long double float java/io/ObjectInputStream java/io/ByteArrayInputStream ? ? java/io/ByteArrayOutputStream java/io/ObjectOutputStream ? jdbc:oracle:oci:@ scott tiger? 7*** Test1: Invoking through the SQLJUTL2.INVOKE method.? oracle.sqlj.checker.JdbcVersion to_string java/lang/Class java/lang/Object ? ? Invoking returns ? 9*** Test2: Invoking through the SQLJUTL2.EVALUATE method. oracle/jpub/reflect/RObject ? ? ? . ( ) returns A*** Test3: Multiple invocations through SQLJUTL2.EVALUATE method. sqlj.mesg.JavaVersion getJavaVersion getJavaVersionName getRecommendedRuntimeZip getVersion isEnterpriseEdition isJava20 isSqlj20 NoSuchMethod NoSuchClass getName ?? TARGET EXCEPTION: java/lang/Throwable and various methods returns oa[? ] = [type is: N/A? ] '*** Test4: Invocation using reflection.? ? ? Result is: ? Results in error: *** Test5: Check getSignature. Signagure with RClass[]: oracle/jpub/reflect/RClass ? ? java/lang/String ? ? oracle.jpub.reflect.Client Signature with Class[]: String [String String[] ? ? Signagure with String[]: jpub.debug.internal!" oracle/jpub/reflect/Client forName getMessage ()Ljava/lang/String; (Ljava/lang/String;)V (Ljava/sql/Connection;)V close (Z)V java/lang/Boolean FALSE getConnection ()Ljava/sql/Connection; java/sql/Connection createStatement ()Ljava/sql/Statement; java/sql/Statement executeQuery ((Ljava/lang/String;)Ljava/sql/ResultSet; java/sql/ResultSet next getInt (I)I TRUE booleanValue prepareCall 0(Ljava/lang/String;)Ljava/sql/CallableStatement; java/sql/CallableStatement setString (ILjava/lang/String;)V setBytes (I[B)V registerOutParameter (II)V executeUpdate ()I getBytes (I)[B java/lang/Long longValue ()J setLong (IJ)V getCause ()Ljava/lang/Throwable; printStackTrace toString (Ljava/lang/Throwable;)V getInternalName append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; isArray getComponentType ()Ljava/lang/Class; java/lang/Void TYPE (C)Ljava/lang/StringBuffer; java/lang/Byte java/lang/Short java/lang/Integer java/lang/Double java/lang/Float replace (CC)Ljava/lang/String; endsWith (Ljava/lang/String;)Z length substring (II)Ljava/lang/String; startsWith equals (Ljava/lang/Object;)Z ([B)V (Ljava/io/InputStream;)V readObject ()Ljava/lang/Object; (Ljava/io/OutputStream;)V writeObject (Ljava/lang/Object;)V toByteArray ()[B oracle/sqlj/runtime/Oracle Y(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsqlj/runtime/ref/DefaultContext; java/lang/System out Ljava/io/PrintStream; java/io/PrintStream println ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; ?(Lsqlj/runtime/ref/DefaultContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Object;Z)V 7(Lsqlj/runtime/ref/DefaultContext;[Ljava/lang/Object;)V getTargetException (I)Ljava/lang/StringBuffer; getClass Q(Lsqlj/runtime/ref/DefaultContext;Ljava/lang/String;)Loracle/jpub/reflect/RClass; getMethod C(Ljava/lang/String;[Ljava/lang/Class;)Loracle/jpub/reflect/RMethod; oracle/jpub/reflect/RMethod D(Ljava/lang/Object;[Ljava/lang/Object;)Loracle/jpub/reflect/RObject; (Ljava/io/PrintStream;)V getProperty &(Ljava/lang/String;)Ljava/lang/String; ! ? q ? ? ? ? ? ? ? ? / *? ? ? ? ? ? ? ? ? ] *+,-? ? ? # ? 4 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? !? Y*? :+,-? :? ? ? * + , - ? R ! ? ? ! ? ? ! ? ? ! ? ? ! ? ? ! ? ? ? ? ? ? ? ? ? ? ? ] *+,-? ? ? 4 ? 4 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? k *+,-? ? ? ? <