Hello, the following issue:
I use hibernatetools for reverse engineering. Therefor in the hibernate.reveng.xml I use the capability to overwrite the reverse engineering for a specific table. In this case I prevent that back references will be provided in this way:
<table name="TABLE_N" schema="SCHEMA_ANY"> <foreign-key constraint-name="FK_TABLE_1"> <many-to-one property="table1" /> <set exclude="true" /> </foreign-key> </table> Now, in one special case, I need for real ManyToMany relation the same thing. I only need access using one side. Therfor I need something like this:
<table name="TABLE_N" schema="SCHEMA_ANY"> <foreign-key constraint-name="FK_TABLE_M"> <many-to-many property="tableM" /> <set exclude="true" /> </foreign-key> </table>
But I'm not able to find a common solution. Would be nice if you could help, please?
|