According to the documentation, hibernate 3.6 should have support for the java.util.UUID type. But when I map it like:
@Id protected UUID uuid;
Don't use the type UUID, because you'd need a custom type to handle it.
UUID
Use String. See this post. It is one way of implementing it.
String
Another way is to use the UUID generator built in hibernate. You'd need @GeneratedValue with a generator named hibernate-uuid
@GeneratedValue
hibernate-uuid