NativeQuery UserTypes are used when no scalar is given.

Description

Some Days ago I posted a question regarding the usage of scalars in native queries and usertypes on Stackoverflow. One of the Hibernate Developer wrote there that it might be a bug so I post it here too.

see:
https://stackoverflow.com/questions/66884279/hibernate-5-4-29-native-query-needs-scalar/66908098#66908098

Environment

None

Assignee

Unassigned

Reporter

Ben