Hibernate uuid2 uses lowercase String while SQL Server uniqueidentifier expects an uppercase String

I created the HHH-12943 Jira issue and added 3 test case in he Hibernate project.

We don’t need to change anything in the Hibernate code. You could either use byte[], UUID or just return the uppercase String:

public String getId() {
    return id.toUpperCase();
}

Therefore, I closed this issue since it’s more a SQL Server problem than a Hibernate one. The spec says that UUIDs should be lowercase and most DBs follow the spec. It’s just that SQL Server does not follow the spec as it should. But since we can work around this, there’s no need to change the Hibernate code just to support this very specific use case.