0

次のようなコレクションがあります。

<collectiontype code="colors" elementtype="localized:java.lang.String">

およびこのコレクションを含む itemtype:

<itemtype code="MyShirt" autocreate="true" generate="true">
 <attributes>
   <attribute qualifier="code" type="java.lang.String">
     <persistence type="property">
   </attribute>
   <attribute qualifier="colors" type="colors">
     <persistence type="property">
   </attribute>
 </attributes>
 </itemtype>

では、このアイテム タイプにシャツを挿入するための適切な ImpEx は次のとおりです。

   $lang=en
   INSERT_UPDATE MyShirt;code[unique=true];colors(code[lang=$lang])

上記のステートメントはエラーを返します。どこが間違っていますか?

4

2 に答える 2