Cannot convert uuid data type to java.util.UUID for native queries. I created 2 test cases. entityFactory based queries can handle but sessionFactory based queries cannot convert.
For a workaround I created a custom dialect and registered the type.
I created a simple PR for dialect update.
Test case added: