Here you can find the source of createRandomName()
public static String createRandomName()
//package com.java2s; //License from project: Open Source License import java.util.UUID; import java.util.concurrent.ThreadLocalRandom; public class Main { public static String createRandomName() { return ("uniqueDb" + UUID.randomUUID() + ThreadLocalRandom.current().nextLong()).replaceAll("-", "") .toLowerCase();//from ww w . j a v a 2 s . com } }