Edit C:\Users\Admin\.m2\repository\org\dspace\handle\6.2\net\handle\server\SQLHandleStorage.class
???? 0? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??? ??? ??? ??? ???? ??? ??? ??? ??? ??? ??? ??? ??? ?? ?? 2? ???? ??? ??? ??? ???? ?????????????? ?? I? ???? ??? Q?? Q? Q? Q? ?? O???? ?? Z??? ]? ????? Z??? d?? ?????? ? ?? ? ? ? ? ? 2 Q 2 Q ? ? ? d? ?? ? ?? ? ?! ?" ?# Q$ ?% &'?( ?)?* ?+ ?, ?-?.?/012 ??3 ?? ?4 ?5 ?6 ?7 ?8 9 ?: ?; ?< ?= &>? ?? 2@ 2A BC 2D &E ?F G ?H ?I ?J ?K ?L ?Mm+ ?N OP OQ ORS ?T ?UVWXY??Z[\ ?] ?^_ `a ?b ?c defg ListHdlsEnum InnerClasses SQL_URL Ljava/lang/String; ConstantValue SQL_LOGIN SQL_PASSWD SQL_DRIVER_CLASS SQL_READ_ONLY CONN_LIFE_TIME J MAX_OPS_PER_CONN sqlConnection Ljava/sql/Connection; databaseURL username passwd readOnly Z compensateForOracleJDBCBug lastConnectTime numOperations haveNAStatement Ljava/sql/PreparedStatement; addNAStatement delNAStatement addHasNAStatement createHandleStatement getHandleStatement handleExistsStatement deleteHandleStatement modifyValueStatement HAVE_NA_STMT DEL_NA_STMT ADD_NA_STMT SCAN_HANDLES_STMT SCAN_BYPREFIX_STMT SCAN_NAS_STMT DELETE_ALL_HDLS_STMT DELETE_ALL_NAS_STMT CREATE_HDL_STMT GET_HDL_STMT HDL_EXISTS_STMT DELETE_HDL_STMT MOD_VALUE_STMT CFG_HAVE_NA_STMT CFG_DEL_NA_STMT CFG_ADD_NA_STMT CFG_SCAN_HANDLES_STMT CFG_SCAN_BYPREFIX_STMT CFG_SCAN_NAS_STMT CFG_DELETE_ALL_HDLS_STMT CFG_DELETE_ALL_NAS_STMT CFG_CREATE_HDL_STMT CFG_GET_HDL_STMT CFG_HDL_EXISTS_STMT CFG_DELETE_HDL_STMT CFG_MOD_VALUE_STMT CFG_FIX_ORACLE_BUG HEX_VALUES [C <init> ()V Code LineNumberTable LocalVariableTable this $Lnet/handle/server/SQLHandleStorage; Exceptions init (Lnet/handle/util/StreamTable;)V config Lnet/handle/util/StreamTable; getConnection ()Ljava/sql/Connection; e Ljava/lang/Exception; oldConnection Ljava/sql/SQLException; t Ljava/lang/Throwable; origE now haveNA ([B)Z authHandle [B sql results Ljava/sql/ResultSet; setHaveNA ([BZ)V result I flag currentlyHaveIt handleExists handle getByteData (Ljava/lang/String;)[B str getStrData 3(Lnet/handle/hdllib/HandleValue;)Ljava/lang/String; val Lnet/handle/hdllib/HandleValue; encodeString &(Ljava/lang/String;)Ljava/lang/String; ch C i len sb Ljava/lang/StringBuffer; decodeChar (CCCC)C ch1 ch2 ch3 ch4 ich1 ich2 ich3 ich4 decodeString encCh1 encCh2 encCh3 encCh4 createHandle %([B[Lnet/handle/hdllib/HandleValue;)V rv refs #[Lnet/handle/hdllib/ValueReference; t2 sqlExc values [Lnet/handle/hdllib/HandleValue; handleStr success deleteHandle deleted getRawHandleValues ([B[I[[B)[[B colIdx valReferences value referencesStr references [Ljava/lang/String; allValues Ljava/util/Vector; rawValues [[B indexList [I typeList updateValue addValues removeValues ([B[[B[I)V scanHandles #(Lnet/handle/hdllib/ScanCallback;)V b callback Lnet/handle/hdllib/ScanCallback; scanStatement scanNAs getHandlesForNA ([B)Ljava/util/Enumeration; naHdl deleteAllRecords checkpointDatabase shutdown getStringFromResults )(Ljava/sql/ResultSet;I)Ljava/lang/String; s getBytesFromResults (Ljava/sql/ResultSet;I)[B access$000 ;(Lnet/handle/server/SQLHandleStorage;)Ljava/sql/Connection; x0 Synthetic access$100 8(Lnet/handle/server/SQLHandleStorage;)Ljava/lang/String; access$200 access$300 =(Lnet/handle/server/SQLHandleStorage;Ljava/sql/ResultSet;I)[B x1 x2 <clinit> SourceFile SQLHandleStorage.java?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? %select count(*) from nas where na = ? ? ? delete from nas where na = ? ? ? #insert into nas ( na ) values ( ? ) ? ? #select distinct handle from handles ? ? 7select distinct handle from handles where handle like ? select distinct na from nas ? ? delete from handles ? ? delete from nas ? ? ?insert into handles ( handle, idx, type, data, ttl_type, ttl, timestamp, refs, admin_read, admin_write, pub_read, pub_write) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ? ? ?select idx, type, data, ttl_type, ttl, timestamp, refs, admin_read, admin_write, pub_read, pub_write from handles where handle = ? ? ? -select count(*) from handles where handle = ? ? ? $delete from handles where handle = ? ? ?update handles set type = ?, data = ?, ttl_type = ?, ttl = ?, timestamp = ?, refs = ?, admin_read = ?, admin_write = ?, pub_read = ?, pub_write = ? where handle = ? and idx = ? ? sql_driverhijklmnopq sql_url java/lang/String ? ? sql_login ? ? sql_passwd ? ? sql_read_onlyrs compensate_for_oracle_jdbc_bug have_na_stmttu del_na_stmt add_na_stmt scan_handles_stmt scan_by_prefix_stmt scan_nas_stmt delete_all_handles_stmt delete_all_nas_stmt create_handle_stmt get_handle_stmt handle_exists_stmt delete_handle_stmt modify_value_stmtvwxyz java/lang/Exception{| java/lang/StringBuffer Error resetting old connection: }~}????????? java/sql/SQLException?? java/lang/Throwable "Error cleaning up SQL connection: ???? Got SQL Exception ?? !net/handle/hdllib/HandleException Error connecting: ? Unable to setup sql connection: ????????????? Error accessing NA data: Server is read-only()?? $Error checking for existing handle: >8??+?)?+?+?+?+??P?>??????}?FG5)???????????????????2}?6+????????????????? Error creating handle: Error deleting handle java/util/Vector net/handle/hdllib/HandleValue?????????????????????? net/handle/hdllib/ValueReference?????????????r????????????????????? Error retrieving handle`)UV Error updating values: Not implemented yet!!??? SQL Error: 0The requested naming authority doesn't live here /net/handle/server/SQLHandleStorage$ListHdlsEnum??? -Checkpoint not supported in this storage type?? P??8?? "net/handle/server/SQLHandleStorage java/lang/Object net/handle/hdllib/HandleStorage net/handle/util/StreamTable containsKey (Ljava/lang/Object;)Z get &(Ljava/lang/Object;)Ljava/lang/Object; valueOf &(Ljava/lang/Object;)Ljava/lang/String; java/lang/Class forName %(Ljava/lang/String;)Ljava/lang/Class; getBoolean (Ljava/lang/Object;Z)Z getStr 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; java/lang/System currentTimeMillis ()J java/sql/Connection close err Ljava/io/PrintStream; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; java/io/PrintStream println (Ljava/lang/String;)V printStackTrace (Ljava/io/PrintStream;)V isClosed ()Z (Ljava/lang/Object;)V java/sql/DriverManager M(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/Connection; prepareStatement 0(Ljava/lang/String;)Ljava/sql/PreparedStatement; getNextException ()Ljava/sql/SQLException; (ILjava/lang/String;)V net/handle/hdllib/Util upperCase ([B)[B java/sql/PreparedStatement setBytes (I[B)V executeQuery ()Ljava/sql/ResultSet; java/sql/ResultSet next getInt (I)I executeUpdate ()I net/handle/hdllib/Common STD_TYPE_URL hasType STD_TYPE_EMAIL STD_TYPE_URN STD_TYPE_HSSERV STD_TYPE_HOSTNAME getData ()[B ([B)Ljava/lang/String; length (I)V charAt (I)C (C)Ljava/lang/StringBuffer; setAutoCommit (Z)V getIndex setInt (II)V getType getTTLType ()B setByte (IB)V getTTL getTimestamp getReferences %()[Lnet/handle/hdllib/ValueReference; index (I)Ljava/lang/StringBuffer; net/handle/util/StringUtils encode setString getAdminCanRead setBoolean (IZ)V getAdminCanWrite getAnyoneCanRead getAnyoneCanWrite commit rollback setIndex setType ([B)V isParentTypeInArray ([[B[B)Z isInArray ([II)Z setData getByte (I)B setTTLType (B)V setTTL setTimestamp split ((Ljava/lang/String;C)[Ljava/lang/String; indexOf substring (II)Ljava/lang/String; java/lang/Integer parseInt (Ljava/lang/String;)I (I)Ljava/lang/String; decode setReferences &([Lnet/handle/hdllib/ValueReference;)V (I)Z setAdminCanRead setAdminCanWrite setAnyoneCanRead setAnyoneCanWrite addElement size elementAt (I)Ljava/lang/Object; net/handle/hdllib/Encoder calcStorageSize "(Lnet/handle/hdllib/HandleValue;)I encodeHandleValue %([BILnet/handle/hdllib/HandleValue;)I net/handle/hdllib/ScanCallback scanHandle getIDPart )(Lnet/handle/server/SQLHandleStorage;[B)V getString encodeHexString getBytes (I)[B ! ? ? ? 4 ? ? ? 1 ? ? ? 4 ? ? ? 6 ? ? ? , ? ? ? 8 ? ? ? J ? ? ? L ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ; ? ? = ? ? >