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.
{code:java} public CustomPostgressDialect() { super();
this.registerHibernateType(1111, "pg-uuid"); }{code}
I created a simple PR for dialect update. |
|