Similar to issue https://hibernate.atlassian.net/browse/HHH-15647, where the issue appeared in a subselect, does this issue also result in an exception when using a long inside a statement in the Select clause, ie:
select creator.id = :accountId as ownership from Document
The accountId will be translated to cast(X as bigint) which should actually be either signed or unsigned . |