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;
UUID was a basic type added in 3.6. However, by default it translates to a JDBC Binary type which appears to cause issues for mysql. You can override this behavior by explicitly specifying uuid-char as the type.