Hi,
I am very new to Middlegen and Hibernate.
I have followed the example of how to use the Hibernate plugin for Middlegen and have made progress with the exception of generating the associations in the resulting Hibernate xml files.
I am using the latest stable version of MySql, the Middlegen task in my build file happily connects and picks up the tables in my schema. However, I get a warning saying that no relationships were found and the resulting generated files just define the tables without associations.
As far as I can tell I have set up the foreign key relationships in my schema correctly - should they automatically be picked up in that case or I am missing something here ?
The warning suggests I may have an issue with the metadata class in my driver - again I am simply using the latest stable release of the driver.
Thanks in advance.
|