Just in case, here is another project sample replicating the issue:
https://github.com/rozagerardo/samples/tree/hibernate-nativequery-issue