org.apache.cayenne.velocity.BindObjectEqualDirective.class Maven / Gradle / Ivy
???? 7 ?
)org/apache/cayenne/velocity/BindDirective ()V bindObjectEqual
4org/apache/cayenne/velocity/BindObjectEqualDirective getChild w(Lorg/apache/velocity/context/InternalContextAdapter;Lorg/apache/velocity/runtime/parser/node/Node;I)Ljava/lang/Object;
toIdMap #(Ljava/lang/Object;)Ljava/util/Map; 1org/apache/velocity/exception/ParseErrorException TInvalid parameters. Either object has to be set or sqlColumns and idColumns or both.
(Ljava/lang/String;)V java/util/Collections EMPTY_MAP Ljava/util/Map; ! " # $ %
java/util/Map keySet ()Ljava/util/Set; ' ( ) * +
java/util/Set toArray ()[Ljava/lang/Object;
- * . '(Ljava/lang/Object;)[Ljava/lang/Object; 0 7SQL columns and ID columns arrays have different sizes. ! 2 3 4 get &(Ljava/lang/Object;)Ljava/lang/Object;
6 7 8 9 : java/lang/Object getClass ()Ljava/lang/Class;
<