Hibernate version: 2.0
Name and version of the database you are using:MySQL
Hello,
Some time ago , I used middlegen-hibernate with a MySQL database with some foreign keys (one to may associations to be more accurate). As a result, the *.hbm.xml files had one-to-many elements and all worked fine.
Now, I have used it again and it doesn't find my associations, it doesn't generate the one-to-many relationships and I am going mad. I use the normal middlegen and task and then the hbm2java tool and I think I haven't changed anything important. I don't specify any table because I want all tables are scanned. Is there any option I could use?
Thanks and kind regards.
|