Dmitri Colebatch wrote: >My current issue is >that when I start middlegen (specifying no tables) it makes all the >relationships bidirectional. >
I'm no great expert here, but I set this up it in the properties file. 1. Run the middlegen task, so it recognises the new schema. This will add the attributes for the table to the middlegen properties file. 2. Edit the properties file and set the relations to false. ie. relations.employee-company.company-has-employee.enabled=false 3. Run the middlegen task again. The other option is to use the GUI task and design the mappings in there, prior to generation. There is probably some ant element i'm missing too, but i'm not running against such a big schema that it poses any problem. Regards, James. ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ middlegen-user mailing list middlegen-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/middlegen-user