hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

HHH-17630 Test and attempted fix

Open jrenaat opened this issue 1 year ago • 1 comments

https://hibernate.atlassian.net/browse/HHH-17630

jrenaat avatar Jan 18 '24 23:01 jrenaat

The test errors are due to this solution wrongly assuming that if a JavaType is an enum, it can use a "default mapping" for that Java type, but note that an enum has multiple database representations: ORDINAL (tinyint, smallint, etc.) and STRING (varchar, char etc.). I didn't dig into the matter yet, but my gut guess is that the proper solution requires adaptions to the type inference in BaseSqmToSqlAstConverter to handle tuples properly.

beikov avatar Jan 22 '24 12:01 beikov