Code:
Will hibernate intepret java.lang.* correctly if I want to use hbm2ddl to generate the schema?
yes, they are equal in context of hibernate.
Code:
Wouldn't it be an idea to have an option on hbm2java to select this behavior for backwards compatibility?
It is opensource so feel free to contribute it.
I did not find it important enough when I did the change (more than a year ago) and we already had the rule back then + noone really ever complained/contributed about it when they found out how to fix it.