Hello,
I'm trying to use querydsl-maven-plugin against an oracle database that has several schemas. In my case, the database user rad has access to RAD and SH schemas. If I don't specify the schemaPattern, the plugin generates hundreds of classes from schemas that I don't need. I can restrict to one schema and have classes generated to that schema.
<configuration>
<jdbcDriver>oracle.jdbc.OracleDriver</jdbcDriver>
<jdbcUrl>${querydsl.jdbc.url}</jdbcUrl>
<jdbcUser>rad</jdbcUser>
<jdbcPassword>${password}</jdbcPassword>
<targetFolder>${project.build.directory}/generated-sources/java</targetFolder>
<exportBeans>true</exportBeans>
<schemaPattern>RAD</schemaPattern>
...
But, how can I choose more than one schema? I tried using <schemaPattern>RAD,SH</schemaPattern>, but did not generate any classes.
Do I have to create multiple configurations, one for each schema or is there a better way?
I'm using querydsl 4.0.8.BUILD-SNAPSHOT
Thank you.