Andrus Adamchik created CAY-2203: ------------------------------------ Summary: cdbimport: Mixing "includeTable" with "includeTables" results in ignored configs Key: CAY-2203 URL: https://issues.apache.org/jira/browse/CAY-2203 Project: Cayenne Issue Type: Bug Environment: Maven 3.3.9, Java 8 Reporter: Andrus Adamchik Assignee: Nikita Timofeev
I started with the following cdbimport configuration in pom.xml: {noformat} <catalog> <name>c1</name> <includeTable> <pattern>table1</pattern> <excludeColumn>.*XYZ</excludeColumn> </includeTable> <includeTables> <pattern>table2</pattern> <pattern>table3</pattern> </includeTables> </catalog> {noformat} It mostly worked, except "excludeColumn" spec was ignored. I changed this to this (replacing one "includeTables" with multiple "includeTable" tags) : {noformat} <catalog> <name>c1</name> <includeTable> <pattern>table1</pattern> <excludeColumn>.*XYZ</excludeColumn> </includeTable> <includeTable>table2</includeTable> <includeTable>table3</includeTable> </catalog> {nofirmat} And now everything started working. So we should either fix this scenario. Or even better - disallow plural tags (such as "includeTables") ... Is plural tag support automatically added by Maven, or is this our code? -- This message was sent by Atlassian JIRA (v6.3.4#6332)