Hello,

I have an Entity Bean  :

public class ResultBean implements EntityBean {

  [...]

  public String id;
  [...]
  public byte[][] graphResult;

}

The graphResult field is an array of byte arrays. I want it to be stored as
a list of BLOBs. Here is my mapping for this field (orion-ejb-jar.xml) :

<cmp-field-mapping name="graphResult">
    <list-mapping table="graphics">
        <value-mapping type="[B">
            <cmp-field-mapping>
                <fields />
            </cmp-field-mapping>
        </value-mapping>
    </list-mapping>
</cmp-field-mapping>

The '[B' is the String returned when I do byte[].getClass().toString()

But when I deploy :

Error compiling file:/C:/orion/applications/rapids/rapids-ejb-result.jar:
Dependent OR class [B cannot be abstract unless the ejb-jar.xml has a
<dependent> tag for it


What's wrong ??? Can someone helps me ??

Thanks

Laurent


Reply via email to