[ http://issues.apache.org/jira/browse/OJB-112?page=comments#action_12427029 ] Tom Antony commented on OJB-112: --------------------------------
Hi Armin, I think I have fixed the issue. Please have a look at the new RepositoryXmlProcessor.java. My fix works correctly for your test case. Basically I changed the approach such that when ever you first encounter an <indirection-table> definition take care of both sides of the mapping instead of filling it up by processing both sides of the m:n reference. Regards, Tom. > Tool for forward engineering from repository.xml > ------------------------------------------------ > > Key: OJB-112 > URL: http://issues.apache.org/jira/browse/OJB-112 > Project: OJB > Issue Type: New Feature > Affects Versions: 1.0.4 > Reporter: Tom Antony > Priority: Minor > Attachments: repository_mappings_test.xml, repository_test.xml, > RepositoryXmlProcessor.java, src-v1.zip, src.zip > > > Currently there are no tools which support forward generation from OJB's > repository.xml. Such a tool should read in the metadata mappings and generate > the Java bean source code as well as SQL schema. The SQL schema can be > generated in Torque format so that DDLUtils can generate the DB specific > schema. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
