Hi, I am generating unique id as long id= System.currentTimeMillis(); I wanted to store this value into MySql table. But Mysql doesn't support long datatype. If I convert Long to int then it will truncate the extra part. What shall I do? I need to generate unique id and add it to table.