Comment 13 for bug 820371

Revision history for this message
Guillaume Smet (guillaume-smet) wrote :

Hi Timo,

Théo is one of my colleagues and I have asked him to write this patch.

The problem is that you need rawtypes with Eclipse 3.6+ (except if you configure it explicitely to keep the old behaviour) but if you use rawtypes, it's your JVM which issues the warnings as Java 6 doesn't support rawtypes... See http://stackoverflow.com/questions/3646770/java-6-unsupported-suppresswarningsrawtypes-warning for reference.

That's why I thought an option to suppress all the warnings might be useful because once you have checked that you don't have any important problem with the generated classes, you can add this option to remove all the warnings.

By the way, we have the same problem with the Hibernate JPA Modelgen project.

It's definitely not that easy to find a good solution to this problem.

--
Guillaume