org.apache.cayenne.dbsync.reverse.dbload.ProcedureColumnLoader.class Maven / Gradle / Ivy
???? 4 ?
8 ~ ? ? 7 ?
? ? i ? j ?
? ?
Z ? ? l ? ? ?
n ?
k ?
n ?
m ?
7 ?
n ? ? ? l ? ? 7 ? ?
? ?
? ?
? ? ?
m ? ? ?
n ? ? ? ? ? l ?
? ? ? l ? ?
, ?
7 ?
, ?
, ? ?
, ?
, ?
, ? ?
? ? ? ? LOGGER Lorg/slf4j/Logger; ?(Lorg/apache/cayenne/dba/DbAdapter;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate;)V Code LineNumberTable LocalVariableTable this @Lorg/apache/cayenne/dbsync/reverse/dbload/ProcedureColumnLoader; adapter "Lorg/apache/cayenne/dba/DbAdapter; config @Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration; delegate ;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate; getResultSet U(Ljava/lang/String;Ljava/lang/String;Ljava/sql/DatabaseMetaData;)Ljava/sql/ResultSet; catalogName Ljava/lang/String;
schemaName metaData Ljava/sql/DatabaseMetaData;
Exceptions ?
shouldLoad t(Lorg/apache/cayenne/dbsync/reverse/filters/CatalogFilter;Lorg/apache/cayenne/dbsync/reverse/filters/SchemaFilter;)Z catalog 9Lorg/apache/cayenne/dbsync/reverse/filters/CatalogFilter; schema 8Lorg/apache/cayenne/dbsync/reverse/filters/SchemaFilter; filter 9Lorg/apache/cayenne/dbsync/reverse/filters/PatternFilter;
StackMapTable ? processResultSetRow ?(Lorg/apache/cayenne/dbsync/reverse/filters/CatalogFilter;Lorg/apache/cayenne/dbsync/reverse/filters/SchemaFilter;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore;Ljava/sql/ResultSet;)V map :Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore; rs Ljava/sql/ResultSet;
procSchema procCatalog name key procedure "Lorg/apache/cayenne/map/Procedure; column +Lorg/apache/cayenne/map/ProcedureParameter; ? ? ? ? ? ? loadProcedureParams u(Ljava/sql/ResultSet;Ljava/lang/String;Lorg/apache/cayenne/map/Procedure;)Lorg/apache/cayenne/map/ProcedureParameter;
columnName type S
columnType I
decimalDigits direction getDirection (S)I ()V
SourceFile ProcedureColumnLoader.java ; < 7org/apache/cayenne/dbsync/reverse/dbload/AbstractLoader % ? ? D E ? ? ? c K ? ? ? ? ? PROCEDURE_SCHEM ? ?
PROCEDURE_CAT PROCEDURE_NAME ? ? ? ? ? ? ? ? o p ? ? COLUMN_NAME COLUMN_TYPE ? ? java/sql/DatabaseMetaData 9 : java/lang/StringBuilder ; { skipping ResultSet column: ? ? . ? ? ? ? ? *null column name, assuming result column:
_return_value ? ? ,invalid null column name, skipping column : ? ? DATA_TYPE ? ? ? ? ? SCALE ? ? )org/apache/cayenne/map/ProcedureParameter ; ? x y ? ? ? ? LENGTH ? ? ? ? ? ? 1org/apache/cayenne/dbsync/reverse/dbload/DbLoader ? ? ? >org/apache/cayenne/dbsync/reverse/dbload/ProcedureColumnLoader Borg/apache/cayenne/dbsync/reverse/dbload/PerCatalogAndSchemaLoader java/sql/SQLException 7org/apache/cayenne/dbsync/reverse/filters/PatternFilter 7org/apache/cayenne/dbsync/reverse/filters/CatalogFilter 6org/apache/cayenne/dbsync/reverse/filters/SchemaFilter 8org/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore java/sql/ResultSet java/lang/String org/apache/cayenne/map/Procedure getProcedureColumns ^(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet; >org/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration getFiltersConfig ;()Lorg/apache/cayenne/dbsync/reverse/filters/FiltersConfig; 7org/apache/cayenne/dbsync/reverse/filters/FiltersConfig proceduresFilter _(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/cayenne/dbsync/reverse/filters/PatternFilter; isEmpty ()Z getString &(Ljava/lang/String;)Ljava/lang/String; generateFullyQualifiedName J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; getProcedure 6(Ljava/lang/String;)Lorg/apache/cayenne/map/Procedure; getFullyQualifiedName ()Ljava/lang/String; equals (Ljava/lang/Object;)Z addCallParameter .(Lorg/apache/cayenne/map/ProcedureParameter;)V getShort (Ljava/lang/String;)S append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString org/slf4j/Logger debug (Ljava/lang/String;)V setReturningValue (Z)V info getInt (Ljava/lang/String;)I #org/apache/cayenne/dba/TypesMapping isDecimal (I)Z wasNull setDirection (I)V setType setMaxLength setPrecision setProcedure %(Lorg/apache/cayenne/map/Procedure;)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ! 7 8 9 : ; <