Hi,
I have a problem implementing a Custom Reverse engineering Strategy. I am trying to override the excludeColumn method. I have furnished the code below. How is this method called. is it only called when the column is marked as exclude="true" on the reveng.xml? Please help.
public class CustomStrategy extends DelegatingReverseEngineeringStrategy {
public CustomStrategy(ReverseEngineeringStrategy delegate) {
super(delegate);
}
public boolean excludeColumn(TableIdentifier identifier, String columnName) {
if (columnName.toUpperCase().endsWith("NUMBER")) {
return true;
}
return super.excludeColumn(identifier, columnName);
}
}
|