I generate pojo's using the hibernate tool from ant.
For just 1 class (out of 300) I get an incorrect constructor.
The constructor calls the constructor of the superclass, but with the arguments in the wrong order.
This is all in the generated code generated with just one invocation of the hbm2java task.
Maybe relevant, the .hbm looks like this (partial)
Code:
<subclass name="com.Scheme">
<subclass name="com.SchemeSubclass">
</subclass>
</subclass>
These subclasses don't contain extra properties (don't ask, I didn't create the model)