Comment 7 for bug 788479

Matt Giuca (mgiuca) wrote :

No, database queries is a separate language (JDO Query Language); in that language the numbers are primitives, not boxed (for them to be boxed, they would have to have their own database table), so it couldn't possibly be doing a reference equality. It's only in the Java code that it's a problem, since == checks the pointers to the boxes.