• Post Reply Bookmark Topic Watch Topic
  • New Topic

VMID Lengths  RSS feed

 
Alan Philpott
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We are using a VMID to generate a unqiue ID for creating a filename on the system. We considered using a date/time approach but this wouldnt be sufficient as multiple instances of an application could be deployed to write out files to a single place.

Is this considered a good way to generate a unique id?

Also, will the ID always be 42 characters long (if you ignore the '-' symbols)?
c293d3a4287f22e4:4c7cec6a:10a5f903064:-8000

The ':' and '-' will be stripped out.

Thanks

Alan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!