org.apache.cayenne.dbsync.reverse.dbload.PrimaryKeyLoader.class Maven / Gradle / Ivy
???? 4 w
>
? @
? A
? B C D E F G
? H I J
K L
M
N O P
9 Q R S
T U
V W X Y LOGGER Lorg/slf4j/Logger; ~(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/PrimaryKeyLoader; config @Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration; delegate ;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate; getResultSet R(Lorg/apache/cayenne/map/DbEntity;Ljava/sql/DatabaseMetaData;)Ljava/sql/ResultSet; dbEntity !Lorg/apache/cayenne/map/DbEntity; metaData Ljava/sql/DatabaseMetaData;
Exceptions Z processResultSet r(Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore;Ljava/sql/ResultSet;)V map :Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoadDataStore; rs Ljava/sql/ResultSet;
columnName Ljava/lang/String; attribute $Lorg/apache/cayenne/map/DbAttribute;
StackMapTable [ \ ()V
SourceFile PrimaryKeyLoader.java ] ^ _ ` a ` b ` c d e COLUMN_NAME f g h i j java/lang/StringBuilder ; (Can't locate attribute for primary key: k l m ` n o p q r 'org/apache/cayenne/map/DetectedDbEntity PK_NAME s p 1org/apache/cayenne/dbsync/reverse/dbload/DbLoader t u v 9org/apache/cayenne/dbsync/reverse/dbload/PrimaryKeyLoader 8org/apache/cayenne/dbsync/reverse/dbload/PerEntityLoader java/sql/SQLException java/lang/String "org/apache/cayenne/map/DbAttribute ?(Lorg/apache/cayenne/dba/DbAdapter;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderConfiguration;Lorg/apache/cayenne/dbsync/reverse/dbload/DbLoaderDelegate;)V org/apache/cayenne/map/DbEntity
getCatalog ()Ljava/lang/String; getSchema getName java/sql/DatabaseMetaData getPrimaryKeys L(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/sql/ResultSet; java/sql/ResultSet getString &(Ljava/lang/String;)Ljava/lang/String; getAttribute 8(Ljava/lang/String;)Lorg/apache/cayenne/map/DbAttribute; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString org/slf4j/Logger warn (Ljava/lang/String;)V
setPrimaryKey (Z)V setPrimaryKeyName org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; J *+,? ?
% &