Closed GoogleCodeExporter closed 9 years ago
Hi,
Thanks a lot! The root cause of the problem is: There is a bug converting a
UUID to
binary:
call cast(cast('01020304-0506-0708-090a-0b0c0d0e0f00' as uuid) as binary);
I will fix this for the next release. The correction is in ValueUuid:
public byte[] getBytes() {
byte[] buff = new byte[16];
for (int i = 0; i < 8; i++) {
buff[i] = (byte) ((high >> (8 * (7 - i))) & 255);
buff[8 + i] = (byte) ((low >> (8 * (7 - i))) & 255);
}
return buff;
}
(7 - i instead of 8 - i).
Regards,
Thomas
Original comment by thomas.t...@gmail.com
on 7 Feb 2010 at 4:37
thx, I will try it from svn trunk.:D
Original comment by molnar.p...@gmail.com
on 7 Feb 2010 at 9:09
This should be fixed with version 1.2.129.
Original comment by thomas.t...@gmail.com
on 20 Feb 2010 at 9:43
Original issue reported on code.google.com by
molnar.p...@gmail.com
on 3 Feb 2010 at 1:33