simplest is to setup a reverse enginerring strategy that just ignores all foreign keys by implementing
/** Should this foreignkey be excluded as a oneToMany */
public boolean excludeForeignKeyAsCollection(String keyname, TableIdentifier fromTable, List fromColumns, TableIdentifier referencedTable, List referencedColumns);
/** Should this foreignkey be excluded as a many-to-one */
public boolean excludeForeignKeyAsManytoOne(String keyname, TableIdentifier fromTable, List fromColumns, TableIdentifier referencedTable, List referencedColumns);
to return true for every input.
_________________ Max
Don't forget to rate
|