Menu

#1 Equality of 2 ParamEntityWrapper instance return always false

0.8.4
closed
None
2014-02-07
2014-02-07
No

Equality on ParamEntityWrapper is always refused when bean id is stored in table of bytes (byte[]).
Suppose the id of a bean is a composite key, the way to marshall and unmarshall the id is to transform it in a table of byte.
But comparison of 2 tables of bytes is always false.

Discussion

  • Yves Drumbonnet

    Yves Drumbonnet - 2014-02-07

    Change org.adichatz.engine.common.Utilities.equals(Object, Object):
    add test on equality of two tables of bytes.

     
  • Yves Drumbonnet

    Yves Drumbonnet - 2014-02-07
    • status: open --> closed
    • assigned_to: YArpheuil
     

Log in to post a comment.

MongoDB Logo MongoDB