---
title: "生成主键使用的UUID"
author: "finch"
date: "2010-09-10T17:39:30Z"
tags: []
categories: ["编程语言"]
slug: "uuid"
draft: false
lastmod: "2010-09-10T17:39:30Z"
id: 760497
url: "https://finch.iteye.com/blog/760497"
---

System.out.println(UUID.randomUUID().toString().toUpperCase());