Re: Problem with GUID to HEX conversion

2007-11-15 Thread Lachlan Deck
File a bug report with Radar so it can get fixed. On 16/11/2007, at 2:06 AM, Alexander Spohr wrote: Ok, I declare NSData 7-bit-only then. ;) atze Am 15.11.2007 um 15:54 schrieb Anjo Krank: Well... but testData.toString() also raises and this *is* in the docs (and can be

Re: Problem with GUID to HEX conversion

2007-11-15 Thread Anjo Krank
Well... but testData.toString() also raises and this *is* in the docs (and can be expected to work). We fixed this in the Wonder Postgres plugin ourselves. Cheers, Anjo Am 15.11.2007 um 15:35 schrieb Alexander Spohr: Am 15.11.2007 um 15:02 schrieb Fudik: NSData testData = new NSData(test

Re: Problem with GUID to HEX conversion

2007-11-15 Thread Alexander Spohr
Ok, I declare NSData 7-bit-only then. ;) atze Am 15.11.2007 um 15:54 schrieb Anjo Krank: Well... but testData.toString() also raises and this *is* in the docs (and can be expected to work). We fixed this in the Wonder Postgres plugin ourselves. Cheers, Anjo Am 15.11.200

Re: Problem with GUID to HEX conversion

2007-11-15 Thread Alexander Spohr
Am 15.11.2007 um 15:02 schrieb Fudik: NSData testData = new NSData(test); String h = testData._hexString(); I guess this method has a leading _ because it is not meant for public use. And it is not in the documentation. atze __

Problem with GUID to HEX conversion

2007-11-15 Thread Fudik
I am using byte(24) binary keys in my mySql database and therefore, using GUIDs for PK. At some point in my program I need to constrict a raw sql statement, so I need to convert EOGlobalID into String so that SQL can use it. So I used: primaryKeyForGlobalID to get the pkDict, then I extracted the