Skip to content

includeTableRegexes and includeTableAntPatterns properties not working #10

@ziogiugno

Description

@ziogiugno

Hello, I think I find an issue that prevents using this 2 properties. The isNotIncluded method in GrailsReverseEngineeringStrategy exclude all tables because of empty includeTables list without matching any includeTableRegexes or includeTableAntPatterns properties. I solved this issue adding empty list check for includeTables.....
BEFORE
if (!includeTables.contains(name)) {
log.debug 'table {} not included by name', name
return true
}
AFTER
if (!includeTables.empty && !includeTables.contains(name)) {
log.debug 'table {} not included by name', name
return true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions