How can i create UUID for person in Openmrs

I want to create **UUID at run-time** ,so i want a example to create that.

Please suggest help.

@govind, is this ( helpful?

I have already gone through this like but hardly helps. I want any example or algorithm to create that UUID.

Please suggest some instant help Thanks

Can you give more details of your usecase and what your working on?

I want to create UUID in Openmrs format in my local mysql database, so for creating that i want to know what algorithm should be followed or anywhere if any example is given in past talk.

Please reply fast.

Hi @govind, can you elaborate your actual problem? Why do you need the algorithm MySQL/Java are using to generate UUIDs?