Hibernate version: Hiberate Tools 3.2.0.beta9a
They're really annoying warnings, I take notice of my warnings, I don't want to switch off this warning in Eclipse, and the Eclipse warning filters are pants.
So, I added to my reveng.xml:
Code:
<table name="MY_TABLE">
<meta attribute="scope-class">@SuppressWarnings("serial") public</meta>
</table>
and it works, in Java 5, but ... apart from not being pretty, I had to add it to every table individually, and even then it didn't fix the CompositeId classes.
So, then I read this:
http://www.hibernate.org/70.html which suggested I could put this once, in a config.xml. But I couldn't get it to work.
Is there a good way to suppress these warnings from Hibernate generated classes?