Re: [Dhis2-devs] uuid

2011-10-24 Thread Bob Jolliffe
On 23 October 2011 23:49, Saptarshi Purkayastha wrote: > UUID is optimized in a lot of database systems, if those are put in IDENTITY > columns > Any other generated unique ids are going to be treated as plain varchar Hi Saptarshi That's interesting - haven't seen examples of this but it makes s

Re: [Dhis2-devs] uuid

2011-10-23 Thread Saptarshi Purkayastha
UUID is optimized in a lot of database systems, if those are put in IDENTITY columns Any other generated unique ids are going to be treated as plain varchar REST services should probably make use of UUID because its easy and most-likely safe to be unique across implementations --- Regards, Saptar

[Dhis2-devs] uuid

2011-10-23 Thread Bob Jolliffe
Lars and Jo and I have been discussing a bit about ids off list. One conclusion we have reached is that we should auto-generate a unique identifier which is not quite as cumbersome as a uuid. You might have noticed the CodeGenerator class which has recently appeared in the api. This generates an