We have integrated with Hibernate Tools from JBoss, but for stability reasons we have decided to explicitly turn JDK 5 support off, because of which overriding this variable in the velocity templates will not work. If you you still wish to see JDK 5 code, you may remove the conditional statements surrounding it in the templates and delete the portions of the templates which generate Java 1.4 code.
Also when i read the other messages here in the forum, it was working in the past.
We do support JDK 5 for the HibernateSessionFactory class that can be created through a wizard or during capability addition, however, JDK 5 support was never present for POJOs and DAOs generated during the RE process.
I have noted your request, we will review our decision to support (or not) JDK 5 in the next release as request for it are slowly increasing; an option will be added to the UI to enable JDK5 generation if we decide to support it going forward.
Sorry for the inconvenience caused & thank you for asking.