Guys,
I have a class defined that begins:
Code:
<class name="Something"
table="SOMETHING" lazy="true"
discriminator-value="SMTH" proxy="Something">
Because I use lazy initialization and this class is part of a polymorphic association, I need a proxy. Stating the proxy as the class name is valid, according to the docs.
However, hbm2java sees this and generates:
Code:
class Something implements Something, Serializable
which is obviously wrong.
Is there any way to prevent hbm2java from doing this?
Thanks,
Jbwiv