pierre wrote:
> +        // explicitly load byte values if they are 'shortened'
> +        // should probably be made more generic for other values
> +        if ("$SHORTED".equals(o) && getDBType(fieldName) == FieldDefs.TYPE_BYTE) {
> +            o = parent.getShortedByte(fieldName, getNumber());
> +            storeValue(prefix + fieldName, o);
> +        }

This breaks MMObectNode.getNode(NodeSearchQuery) for Nodes with byte[] fields. I'll 
fix it in
BasicQueryHandler but I don't think is it nice to depend on the "$SHORTED" string.

It is good that byte-array fields are 'lazy' loaded, but it _must_ work always if you 
actaully need
this array.

Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to