Emmanuel,
Thank you for the reply. You say my reverse engineering is not working; I can see that. And my question was, why not? It works fine on the same table when I generate hbm.xml + java. It just doesn't work when I put ejb3="true" in hbm2java.
I've read the part about composite keys you suggested (
http://www.hibernate.org/hib_docs/annot ... e/#d0e1128) but it doesn't talk about reverse engineering.
My question was how do I fix reverse engineering so it generates the java file correctly; I KNOW how to fix it manually, but how do I make it work correctly in the first place? If this is not the right forum to discuss reverse engineering and hbm2java, please point me where to ask that question.
Thank you--
Egor